summaryrefslogtreecommitdiff
path: root/pack-revindex.c
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2019-01-07 03:39:00 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-01-08 09:41:06 -0800
commit5d3679ee023642825a5d3c0ca1eec251588a1848 (patch)
treeb62b740259f8dfd219d25833be65ff675eddc2cc /pack-revindex.c
parentconvert has_sha1_file() callers to has_object_file() (diff)
downloadtgif-5d3679ee023642825a5d3c0ca1eec251588a1848.tar.xz
sha1-file: drop has_sha1_file()
There are no callers left of has_sha1_file() or its with_flags() variant. Let's drop them, and convert has_object_file() from a wrapper into the "real" function. Ironically, the sha1 variant was just copying into an object_id internally, so the resulting code is actually shorter! We can also drop the coccinelle rules for catching has_sha1_file() callers. Since the function no longer exists, the compiler will do that for us. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'pack-revindex.c')
0 files changed, 0 insertions, 0 deletions