Code

Add "-l" flag for repacking only local packs
authorLinus Torvalds <torvalds@osdl.org>
Thu, 13 Oct 2005 22:38:29 +0000 (15:38 -0700)
committerJunio C Hamano <junkio@cox.net>
Thu, 13 Oct 2005 22:38:29 +0000 (15:38 -0700)
commitf7aac2eac96b637755c89c2405a41749c8f6033a
tree7160a82c0b0b3a2fd1db6475cdb7e1c760046949
parent64560374cc6c3ebe595540f3425b2b38036cf253
Add "-l" flag for repacking only local packs

This uses the new "--local" flag to git-pack-objects.  It currently only
makes a difference together with "-a", since a normal incremental repack
won't pack any packed objects at all (whether local or remote).

Eventually, it might end up skipping any objects that aren't local to
the current object directory, but for now it only knows to skip packed
objects.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-repack.sh