summaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2011-01-12 21:26:51 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-01-12 21:26:51 -0800
commitd2f15e29a6161b40dbc0142eb59f82092268e1d6 (patch)
tree13129b7e3b9dc11eed15f7aa456b14010a0853d6 /builtin
parentt9157-*.sh: Make the svn version check more precise (diff)
parentcommit: suggest --amend --reset-author to fix commiter identity (diff)
downloadtgif-d2f15e29a6161b40dbc0142eb59f82092268e1d6.tar.xz
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"