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 /builtin/checkout.c | |
parent | unpack-trees: drop name_entry from traverse_by_cache_tree() (diff) | |
download | tgif-df351c6e676e8eea0defa00ea919ad7da6bd03f1.tar.xz |
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 'builtin/checkout.c')
0 files changed, 0 insertions, 0 deletions