Ensure git-repack -a -d --max-pack-size=N deletes correct packs
authorDana How <danahow@gmail.com>
Fri, 25 May 2007 02:06:42 +0000 (19:06 -0700)
committerJunio C Hamano <junkio@cox.net>
Fri, 25 May 2007 02:45:14 +0000 (19:45 -0700)
commitdca3957b8581ffd0faab135191bbee3029953bd2
treeb32bd8e024be57bcbb152273ac938385c4e1cc70
parent01c12a23121780b7b1d84943fe310cf8773f8745
Ensure git-repack -a -d --max-pack-size=N deletes correct packs

The packfile portion of the "remove redundant" code
near the bottom of git-repack.sh is broken when
pack splitting occurs.  Particularly since this is
the only place where we automatically delete packfiles,
make sure it works properly for all cases,  old or new.

Signed-off-by: Dana L. How <danahow@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-repack.sh