{"thread":{"id":"20593","subject":"[PATCH] revert: Remove printing fullstop after the commit hash","startedAt":"2009-08-14T09:56:12Z","lastAt":"2009-08-14T09:56:12Z","messageCount":1,"participants":["Amit Shah"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"120630","messageId":"1250243772-17556-1-git-send-email-amit.shah@redhat.com","threadId":"20593","inReplyTo":null,"subject":"[PATCH] revert: Remove printing fullstop after the commit hash","fromName":"Amit Shah","fromEmail":"amit.shah@redhat.com","sentAt":"2009-08-14T09:56:12Z","receivedAt":"2009-08-14T09:56:12Z","isPatch":true,"sender":{"key":"amit.shah@redhat.com","avatar":null},"body":"Copy-pasting the commit id from a revert message selects\nthe trailing fullstop as well which has to be removed\nafter pasting. That's inefficient.\n\nSigned-off-by: Amit Shah <amit.shah@redhat.com>\n---\n builtin-revert.c |    2 +-\n 1 files changed, 1 insertions(+), 1 deletions(-)\n\ndiff --git a/builtin-revert.c b/builtin-revert.c\nindex 151aa6a..7f0c22c 100644\n--- a/builtin-revert.c\n+++ b/builtin-revert.c\n@@ -346,7 +346,7 @@ static int revert_or_cherry_pick(int argc, const char **argv)\n \t\t\tadd_to_msg(\", reversing\\nchanges made to \");\n \t\t\tadd_to_msg(sha1_to_hex(parent->object.sha1));\n \t\t}\n-\t\tadd_to_msg(\".\\n\");\n+\t\tadd_to_msg(\"\\n\");\n \t} else {\n \t\tbase = parent;\n \t\tnext = commit;\n-- \n1.6.2.5\n"}]}