summaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2011-01-12 21:26:51 -0800
committerJunio C Hamano <gitster@pobox.com>2011-01-12 21:26:51 -0800
commitd2f15e29a6161b40dbc0142eb59f82092268e1d6 (patch)
tree13129b7e3b9dc11eed15f7aa456b14010a0853d6 /builtin
parent7fad99e14af6da89efe0d078e19ac8b7c02a3b5d (diff)
parent3f142468997f9d14d8051a96b2e9db265d41ac0d (diff)
downloadgit-d2f15e29a6161b40dbc0142eb59f82092268e1d6.tar.gz
Merge branch 'maint'
* maint: commit: suggest --amend --reset-author to fix commiter identity
Diffstat (limited to 'builtin')
-rw-r--r--builtin/commit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin/commit.c b/builtin/commit.c
index 22ba54f9bb..03cff5af63 100644
--- a/builtin/commit.c
+++ b/builtin/commit.c
@@ -45,9 +45,9 @@ static const char implicit_ident_advice[] =
" git config --global user.name \"Your Name\"\n"
" git config --global user.email you@example.com\n"
"\n"
-"If the identity used for this commit is wrong, you can fix it with:\n"
+"After doing this, you may fix the identity used for this commit with:\n"
"\n"
-" git commit --amend --author='Your Name <you@example.com>'\n";
+" git commit --amend --reset-author\n";
static const char empty_amend_advice[] =
"You asked to amend the most recent commit, but doing so would make\n"