summaryrefslogtreecommitdiff
path: root/date.c
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2016-08-22 17:57:45 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-08-23 14:44:26 -0700
commit85fe35ab9e0d6ded2afa7811e8f345d8dbe08907 (patch)
treeea8e133b00960f9ac3ae3e8a605ff9926830800b /date.c
parentGit 2.10-rc1 (diff)
downloadtgif-85fe35ab9e0d6ded2afa7811e8f345d8dbe08907.tar.xz
cache_or_unpack_entry: drop keep_cache parameter
There is only one caller of cache_or_unpack_entry() and it always passes 1 for the keep_cache parameter. We can simplify it by dropping the "!keep_cache" case. Another call, which did pass 0, was dropped in abe601b (sha1_file: remove recursion in unpack_entry, 2013-03-27), as unpack_entry() now does more complicated things than a simple unpack when there is a cache miss. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'date.c')
0 files changed, 0 insertions, 0 deletions