git-repack: clear out tmp packfiles from $PACKDIR instead of cwd
PATCH 1/1 git-repack: clear out tmp packfiles from $PACKDIR instead of cwd
Temp packfiles should never be created in cwd anyway ;-)
--- git-repack.sh | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
git-repack.sh +2 -2
@@ -24,8 +24,9 @@ do shift done -rm -f .tmp-pack-* PACKDIR="$GIT_OBJECT_DIRECTORY/pack" +mkdir -p "$PACKDIR" || exit +rm -f "$PACKDIR/.tmp-pack-*" # There will be more repacking strategies to come... case ",$all_into_one," in
@@ -43,7 +44,6 @@ case ",$all_into_one," in ;; esac -mkdir -p "$PACKDIR" || exit pack_objects="$pack_objects $local $quiet $no_reuse_delta$extra" name=$( { git-rev-list --objects --all $rev_list || echo "git-rev-list died with exit code $?"
Signature · 5 lines
1.4.2.gdfe7 -- VGER BF report: U 0.983488
Quoted 1 line · Martin Langhoff
Temp packfiles should never be created in cwd anyway ;-)
Note! Applies after "git-repack: create new packs inside $PACKDIR, not cwd"
Quoted 1 line
VGER BF report: U 0.983488
Hilarious!
m
Signature · 1 line
VGER BF report: U 0.569396
Quoted 8 lines · Martin Langhoff
Quoted 1 line · Martin Langhoff
Temp packfiles should never be created in cwd anyway ;-)
Note! Applies after "git-repack: create new packs inside $PACKDIR, not cwd"
Quoted 1 line
VGER BF report: U 0.983488
Hilarious!
Isn't 'U' for Undecided? (and 'H' for Ham)?
Signature · 8 lines
Jakub Narebski Warsaw, Poland ShadeHawk on #git -- VGER BF report: S 0.999453
Quoted 5 lines · Jakub Narebski
Quoted 3 lines · Martin Langhoff
Quoted 1 line · Martin Langhoff
Temp packfiles should never be created in cwd anyway ;-)
Quoted 7 lines
Quoted 5 lines
Note! Applies after "git-repack: create new packs inside $PACKDIR, not cwd"
Quoted 1 line
VGER BF report: U 0.983488
Hilarious!
Isn't 'U' for Undecided? (and 'H' for Ham)?
Maybe -- but the score is really high. This patch was part of a series of 2 actually. The other one had a score of 1.6 and got bounced. :-/
martin
Signature · 1 line
VGER BF report: U 0.558927