DORMANTno replies

[PATCH] revert: Remove printing fullstop after the commit hash

From: Amit Shah <hidden>
Date: 2016-06-15 22:47:14
Subsystem: the rest · Maintainer: Linus Torvalds

Copy-pasting the commit id from a revert message selects
the trailing fullstop as well which has to be removed
after pasting. That's inefficient.

Signed-off-by: Amit Shah <redacted>
---
 builtin-revert.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/builtin-revert.c b/builtin-revert.c
index 151aa6a..7f0c22c 100644
--- a/builtin-revert.c
+++ b/builtin-revert.c
@@ -346,7 +346,7 @@ static int revert_or_cherry_pick(int argc, const char **argv)
 			add_to_msg(", reversing\nchanges made to ");
 			add_to_msg(sha1_to_hex(parent->object.sha1));
 		}
-		add_to_msg(".\n");
+		add_to_msg("\n");
 	} else {
 		base = parent;
 		next = commit;
-- 
1.6.2.5
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help