summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8051a03)
raw | patch | inline | side by side (parent: 8051a03)
author | Jeff King <peff@peff.net> | |
Thu, 11 Feb 2010 21:06:01 +0000 (16:06 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 12 Feb 2010 06:10:57 +0000 (22:10 -0800) |
The current message overflows on an 80-character terminal.
While we're at it, fix the spelling of 'committing'.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
While we're at it, fix the spelling of 'committing'.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-revert.c | patch | blob | history |
diff --git a/builtin-revert.c b/builtin-revert.c
index 8ac86f09434d1dad830c924de8cadcef6705e1e5..83e5c0a755846063a11e3c16432a3faa358d1359 100644 (file)
--- a/builtin-revert.c
+++ b/builtin-revert.c
return msg;
strcpy(helpbuf, " After resolving the conflicts,\n"
- "mark the corrected paths with 'git add <paths>' "
- "or 'git rm <paths>' and commit the result.");
+ "mark the corrected paths with 'git add <paths>' or 'git rm <paths>'\n"
+ "and commit the result.");
if (action == CHERRY_PICK) {
sprintf(helpbuf + strlen(helpbuf),
- "\nWhen commiting, use the option "
- "'-c %s' to retain authorship and message.",
+ " When committing, use the option '-c %s'\n"
+ "to retain authorship and message.",
find_unique_abbrev(sha1, DEFAULT_ABBREV));
}
return helpbuf;