diff options
author | Hu Jialun <hujialun@comp.nus.edu.sg> | 2021-07-10 02:07:32 +0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-07-09 12:08:18 -0700 |
commit | 6f70f00b4f94c036767cbe0f4cd23db573a4e8ba (patch) | |
tree | 0f261220ea7f1e0b2d8866d94c158b2efbd5da1e /t/t3920-crlf-messages.sh | |
parent | commit: reorganise commit hint strings (diff) | |
download | tgif-6f70f00b4f94c036767cbe0f4cd23db573a4e8ba.tar.xz |
commit: remove irrelavent prompt on `--allow-empty-message`
Even when the `--allow-empty-message` option is given, "git commit"
offers an interactive editor session with prefilled message that says
the commit will be aborted if the buffer is emptied, which is wrong.
Remove the "an empty message aborts" part from the message when the
option is given to fix it.
Helped-by: Junio C Hamano <gitster@pobox.com>
Helped-by: Đoàn Trần Công Danh <congdanhqx@gmail.com>
Helped-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Hu Jialun <hujialun@comp.nus.edu.sg>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t3920-crlf-messages.sh')
0 files changed, 0 insertions, 0 deletions