diff options
| author | Jeff King <peff@peff.net> | 2019-03-20 04:15:27 -0400 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2019-03-20 18:34:09 +0900 |
| commit | df351c6e676e8eea0defa00ea919ad7da6bd03f1 (patch) | |
| tree | b70c098b7ffde24e7fbd9653bb95b4bbefe4a57c /parse-options.c | |
| parent | 664296985c2f05df83da9b859c258d97e6a11ba3 (diff) | |
| download | git-df351c6e676e8eea0defa00ea919ad7da6bd03f1.tar.gz | |
unpack-trees: drop unused error_type parameters
The verify_clean_subdirectory() helper takes an error_type parameter
from the caller, but doesn't actually use it. Instead, when it calls
add_rejected_path() it passes NOT_UPTODATE_DIR, its own custom error
type which is more specific than what the caller provides. Likewise for
verify_clean_submodule(), which always passes WOULD_LOSE_SUBMODULE.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'parse-options.c')
0 files changed, 0 insertions, 0 deletions
