diff options
author | Junio C Hamano <gitster@pobox.com> | 2022-03-24 10:33:10 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-03-24 13:36:21 -0700 |
commit | 5891c76cd012536a5bb833e512f7262a4b4358c1 (patch) | |
tree | 45463ba789b457ab6513f6cf75ded85731cdd6dd /convert.h | |
parent | reset: remove 'reset.refresh' config option (diff) | |
download | tgif-5891c76cd012536a5bb833e512f7262a4b4358c1.tar.xz |
reset: show --no-refresh in the short-help
In the short help output from "git reset -h", the recently added
"--[no-]refresh" option is shown like so:
--refresh skip refreshing the index after reset
which explains what happens when the option is given in the negative
form, i.e. "--no-refresh". We could rephrase the explanation to
read "refresh the index after reset (default)" to hint that the user
can say "--no-refresh" to override the default, but listing the
"--no-refresh" form in the list of options would be more helpful.
Helped-by: Phillip Wood <phillip.wood@dunelm.org.uk>
Acked-by: Victoria Dye <vdye@github.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'convert.h')
0 files changed, 0 insertions, 0 deletions