Code

Make prune also run prune-packed
authorJ. Bruce Fields <bfields@citi.umich.edu>
Sun, 22 Oct 2006 23:01:23 +0000 (19:01 -0400)
committerJunio C Hamano <junkio@cox.net>
Sun, 22 Oct 2006 23:39:58 +0000 (16:39 -0700)
commit2eb53e65bd9cdd3b76a6447a1a51dee6e5de96a3
tree5ed2049d3c68eeac2575f6e53edf4aa846047ee1
parent474a90fef9ebcdedee041b2def4b9a98b94cd146
Make prune also run prune-packed

Both the git-prune manpage and everday.txt say that git-prune should also prune
unpacked objects that are also found in packs, by running git prune-packed.

Junio thought this was "a regression when prune was rewritten as a built-in."

So modify prune to call prune-packed again.

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
builtin-prune-packed.c
builtin-prune.c
builtin.h