summaryrefslogtreecommitdiff
path: root/builtin/checkout.c
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2019-03-20 04:15:27 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-03-20 18:34:09 +0900
commitdf351c6e676e8eea0defa00ea919ad7da6bd03f1 (patch)
treeb70c098b7ffde24e7fbd9653bb95b4bbefe4a57c /builtin/checkout.c
parentunpack-trees: drop name_entry from traverse_by_cache_tree() (diff)
downloadtgif-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