aboutsummaryrefslogtreecommitdiff
path: root/git-pull.sh
diff options
context:
space:
mode:
authorBrandon Casey <casey@nrlssc.navy.mil>2007-10-10 19:59:19 -0500
committerShawn O. Pearce <spearce@spearce.org>2007-10-15 20:50:05 -0400
commitedb0e04e819c7cde709d10e03f398d12692259f7 (patch)
treeedeb39018c213c9e9b3566a3529d7ddbfa28e4b2 /git-pull.sh
parent2f27f8509edfe55f267ce9207dc42c12d4809a84 (diff)
downloadgit-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 'git-pull.sh')
0 files changed, 0 insertions, 0 deletions