summaryrefslogtreecommitdiffstats
path: root/diff-lib.c
diff options
context:
space:
mode:
authorAdam Simpkins <simpkins@facebook.com>2010-02-27 04:50:02 +0100
committerJunio C Hamano <gitster@pobox.com>2010-02-28 19:28:05 +0100
commitcbf731ed4ec511f2c32598e03d7865f35881fea2 (patch)
treedc54c7b061bdb678c045a74d40255417bdfa7393 /diff-lib.c
parentMerge branch 'maint-1.6.6' into maint (diff)
downloadgit-cbf731ed4ec511f2c32598e03d7865f35881fea2.tar.xz
git-cbf731ed4ec511f2c32598e03d7865f35881fea2.zip
prune: honor --expire=never
Previously, prune treated an expiration time of 0 to mean that no expire argument was supplied, and everything should be pruned. As a result, "prune --expire=never" would prune all unreachable objects, regardless of their timestamp. prune can be called with --expire=never automatically by gc, when the gc.pruneExpire configuration is set to "never". Signed-off-by: Adam Simpkins <simpkins@facebook.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diff-lib.c')
0 files changed, 0 insertions, 0 deletions