aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNatnael Belay <natnaelbelay@google.com>2023-07-10 20:33:34 +0000
committerNatnael Belay <natnaelbelay@google.com>2023-07-14 18:22:54 +0000
commitf48408ca1cf46c7f03257c2dc3d024ef8a13c673 (patch)
treeb663aeb56ca431c90b8d422417b19fecd54e9d47
parent338af8dede21fe6cfec1b6020ba2a8f5e4b354d7 (diff)
downloadrepohooks-f48408ca1cf46c7f03257c2dc3d024ef8a13c673.tar.gz
check_commit_msg_relnote_field_format: Fix indent on commit message
The indent of the example message printed for a multiline commit is misleading. Simply following the error message would cause `repo upload` to fail since the subsequent lines are not indented. Bug: 290051295 Change-Id: I613b4b51f6ff3a4ab3cde034362344519341abf9
-rw-r--r--rh/hooks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rh/hooks.py b/rh/hooks.py
index 457a440..b2a30c8 100644
--- a/rh/hooks.py
+++ b/rh/hooks.py
@@ -621,7 +621,7 @@ release notes, you need to include a starting and closing quote.
Multi-line Relnote example:
Relnote: "Added a new API `Class#getSize` to get the size of the class.
-This is useful if you need to know the size of the class."
+ This is useful if you need to know the size of the class."
Single-line Relnote example: