summaryrefslogtreecommitdiff
path: root/contrib/git-resurrect.sh
diff options
context:
space:
mode:
authorLibravatar Michael Haggerty <mhagger@alum.mit.edu>2017-01-06 17:22:42 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-01-07 19:30:09 -0800
commita8f0db2d99552d786fd1428a06d5fb8e0425dca8 (patch)
tree862476a19238da803000014d781e9941519a8046 /contrib/git-resurrect.sh
parenttry_remove_empty_parents(): don't trash argument contents (diff)
downloadtgif-a8f0db2d99552d786fd1428a06d5fb8e0425dca8.tar.xz
try_remove_empty_parents(): teach to remove parents of reflogs, too
Add a new "flags" parameter that tells the function whether to remove empty parent directories of the loose reference file, of the reflog file, or both. The new functionality is not yet used. Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Reviewed-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/git-resurrect.sh')
0 files changed, 0 insertions, 0 deletions