diff options
author | Jeff King <peff@peff.net> | 2018-11-05 01:39:20 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-11-06 12:55:35 +0900 |
commit | ccf659e87c8fdb4edb5d2653c53bc9062c8eee76 (patch) | |
tree | ca873a311dbfb009358875c15401affd4bbf0ec0 /remote.c | |
parent | am: handle --no-patch-format option (diff) | |
download | tgif-ccf659e87c8fdb4edb5d2653c53bc9062c8eee76.tar.xz |
ls-files: mark exclude options as NONEG
Running "git ls-files --no-exclude" will currently segfault, as its
option callback does not handle the "unset" parameter.
In theory this could be used to clear the exclude list, but it is not
clear how that would interact with the other exclude options, nor is the
current code capable of clearing the list. Let's just disable the broken
option.
Note that --no-exclude-from will similarly segfault, but
--no-exclude-standard will not. It just silently does the wrong thing
(pretending as if --exclude-standard was specified).
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'remote.c')
0 files changed, 0 insertions, 0 deletions