Jeff King <peff@xxxxxxxx> writes: > 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@xxxxxxxx> > --- > sha1_file.c | 13 +++---------- > 1 file changed, 3 insertions(+), 10 deletions(-) Makes sense. Thanks. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html