diff options
author | Junio C Hamano <gitster@pobox.com> | 2011-12-06 13:09:55 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-12-08 15:25:30 -0800 |
commit | ca1ba2010215acb305c7b5d9707e117b862067eb (patch) | |
tree | 8dae6b6d573eda671edcedb18abf4ac83d103a87 /t/t7501-commit.sh | |
parent | 1af524eba1367a56c02d0e2d6e6d26a1d25ac485 (diff) | |
download | git-ca1ba2010215acb305c7b5d9707e117b862067eb.tar.gz |
commit: honour --no-edit
After making fixes to the contents to be committed, it is not unusual to
update the current commit without rewording the message. Idioms to tell
"commit --amend" that we do not need an editor have been:
$ EDITOR=: git commit --amend
$ git commit --amend -C HEAD
but that was only because a more natural "--no-edit" option in
$ git commit --amend --no-edit
was not honoured.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t7501-commit.sh')
0 files changed, 0 insertions, 0 deletions