diff options
author | Brandon Casey <casey@nrlssc.navy.mil> | 2007-10-10 19:59:19 -0500 |
---|---|---|
committer | Shawn O. Pearce <spearce@spearce.org> | 2007-10-15 20:50:05 -0400 |
commit | edb0e04e819c7cde709d10e03f398d12692259f7 (patch) | |
tree | edeb39018c213c9e9b3566a3529d7ddbfa28e4b2 /sha1_file.c | |
parent | 2f27f8509edfe55f267ce9207dc42c12d4809a84 (diff) | |
download | git-edb0e04e819c7cde709d10e03f398d12692259f7.tar.gz git-edb0e04e819c7cde709d10e03f398d12692259f7.tar.xz |
git-gc: by default use safer "-A" option to repack when not --prune'ing
This makes use of repack's new "-A" option which does not drop packed
unreachable objects. This makes git-gc safe to call at any time,
particularly when a repository is referenced as an alternate by
another repository.
git-gc --prune will use the "-a" option to repack instead of "-A", so
that packed unreachable objects will be removed.
Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil>
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'sha1_file.c')
0 files changed, 0 insertions, 0 deletions