* [PATCH] revert: Remove printing fullstop after the commit hash
@ 2009-08-14 9:56 Amit Shah
0 siblings, 0 replies; only message in thread
From: Amit Shah @ 2009-08-14 9:56 UTC (permalink / raw)
To: git; +Cc: Amit Shah
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 <amit.shah@redhat.com>
---
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2009-08-14 9:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-14 9:56 [PATCH] revert: Remove printing fullstop after the commit hash Amit Shah
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox