| author | Brandon Casey <casey@nrlssc.navy.mil> | |
| Thu, 13 Nov 2008 20:11:46 +0000 (14:11 -0600) | ||
| committer | Junio C Hamano <gitster@pobox.com> | |
| Sat, 15 Nov 2008 05:39:10 +0000 (21:39 -0800) | ||
| commit | 83d0289df6fb4deae100ee3fc37b90683c2e8c9f | |
| tree | 0c863808154fd99432f37d205c286eda6512b622 | tree | snapshot |
| parent | 3289b9dec56d34fe05f90c262d11adc0a61e16e7 | commit | diff |
repack: only unpack-unreachable if we are deleting redundant packs
The -A option calls pack-objects with the --unpack-unreachable option so
that the unreachable objects in local packs are left in the local object
store loose. But if the -d option to repack was _not_ used, then these
unpacked loose objects are redundant and unnecessary.
Update tests in t7701.
Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
The -A option calls pack-objects with the --unpack-unreachable option so
that the unreachable objects in local packs are left in the local object
store loose. But if the -d option to repack was _not_ used, then these
unpacked loose objects are redundant and unnecessary.
Update tests in t7701.
Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
| Documentation/git-repack.txt | diff | blob | history | |
| git-repack.sh | diff | blob | history | |
| t/t7701-repack-unpack-unreachable.sh | diff | blob | history |