diff options
| author | René Scharfe <l.s.r@web.de> | 2023-08-05 16:37:40 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2023-08-06 17:16:49 -0700 |
| commit | d716512870317692129b2b4d706a82b393ffbe6e (patch) | |
| tree | 647cba3f0c5c2f9c60c580a8590780f16d04e655 /parse-options.c | |
| parent | Git 2.42-rc0 (diff) | |
| download | git-d716512870317692129b2b4d706a82b393ffbe6e.tar.gz git-d716512870317692129b2b4d706a82b393ffbe6e.zip | |
subtree: disallow --no-{help,quiet,debug,branch,message}
"git subtree" only handles the negated variant of the options annotate,
prefix, onto, rejoin, ignore-joins and squash explicitly. help is
handled by "git rev-parse --parseopt" implicitly, but not its negated
form. Disable negation for it and the for the rest of the options to
get a helpful error message when trying them.
Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'parse-options.c')
0 files changed, 0 insertions, 0 deletions
