diff options
author | Adam Dinwoodie <adam@dinwoodie.org> | 2016-04-06 18:15:03 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-04-07 13:21:43 -0700 |
commit | 178e8143b4f79290b3ffe40fe2ebf769fccc1ab7 (patch) | |
tree | e8cb006f2c609e7e7e4539fda69b6bbc10040de5 /t/t1514-rev-parse-push.sh | |
parent | Git 2.4.11 (diff) | |
download | tgif-178e8143b4f79290b3ffe40fe2ebf769fccc1ab7.tar.xz |
commit: --amend -m '' silently fails to wipe message
`git commit --amend -m ''` seems to be an unambiguous request to blank a
commit message, but it actually leaves the commit message as-is. That's
the case regardless of whether `--allow-empty-message` is specified, and
doesn't so much as drop a non-zero return code.
Add failing tests to show this behaviour.
Signed-off-by: Adam Dinwoodie <adam@dinwoodie.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t1514-rev-parse-push.sh')
0 files changed, 0 insertions, 0 deletions