summaryrefslogtreecommitdiff
path: root/fetch-pack.h
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2019-03-20 08:15:27 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-03-20 09:34:09 (GMT)
commitdf351c6e676e8eea0defa00ea919ad7da6bd03f1 (patch)
treeb70c098b7ffde24e7fbd9653bb95b4bbefe4a57c /fetch-pack.h
parent664296985c2f05df83da9b859c258d97e6a11ba3 (diff)
downloadgit-df351c6e676e8eea0defa00ea919ad7da6bd03f1.zip
git-df351c6e676e8eea0defa00ea919ad7da6bd03f1.tar.gz
git-df351c6e676e8eea0defa00ea919ad7da6bd03f1.tar.bz2
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 'fetch-pack.h')
0 files changed, 0 insertions, 0 deletions