diff options
author | Teng Long <dyroneteng@gmail.com> | 2023-05-29 21:27:56 +0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-06-03 09:01:10 +0900 |
commit | e4cf01346831ec8f2d4d2bd4d325d2f152259c49 (patch) | |
tree | 99911d9789bbf5d63279d590cc89123b69123dd8 /commit-reach.c | |
parent | fe86abd7511a9a6862d5706c6fa1d9b57a63ba09 (diff) |
surround %s with quotes when failed to lookup commit
The output may become confusing to recognize if the user
accidentally gave an extra opening space, like:
$ git commit --fixup=" 6d6360b67e99c2fd82d64619c971fdede98ee74b"
fatal: could not lookup commit 6d6360b67e99c2fd82d64619c971fdede98ee74b
and it will be better if we surround the %s specifier with single quotes.
Signed-off-by: Teng Long <dyroneteng@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit-reach.c')
0 files changed, 0 insertions, 0 deletions