diff options
author | Jeff King <peff@peff.net> | 2016-08-22 17:57:45 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-08-23 14:44:26 -0700 |
commit | 85fe35ab9e0d6ded2afa7811e8f345d8dbe08907 (patch) | |
tree | ea8e133b00960f9ac3ae3e8a605ff9926830800b /fast-import.c | |
parent | Git 2.10-rc1 (diff) | |
download | tgif-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 'fast-import.c')
0 files changed, 0 insertions, 0 deletions