From: Amit Shah <amit.shah@redhat.com>
To: git@vger.kernel.org
Cc: Amit Shah <amit.shah@redhat.com>
Subject: [PATCH] revert: Remove printing fullstop after the commit hash
Date: Fri, 14 Aug 2009 15:26:12 +0530 [thread overview]
Message-ID: <1250243772-17556-1-git-send-email-amit.shah@redhat.com> (raw)
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
reply other threads:[~2009-08-14 9:56 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1250243772-17556-1-git-send-email-amit.shah@redhat.com \
--to=amit.shah@redhat.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox