diff options
author | Junio C Hamano <junkio@cox.net> | 2006-01-08 14:22:19 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-01-08 14:22:19 -0800 |
commit | 5a2282de13c4da13f979185e652c8a08e2481fd1 (patch) | |
tree | 873414f226d848057f9bb64140b629bf5215b9e9 /git-prune.sh | |
parent | e77f489edf3865dbcfd329461355523bb3c21075 (diff) | |
parent | 8fc11b5aa98540f7caab87e22e5aae63512893a2 (diff) | |
download | git-5a2282de13c4da13f979185e652c8a08e2481fd1.tar.gz git-5a2282de13c4da13f979185e652c8a08e2481fd1.tar.xz |
GIT 1.1.0v1.1.0
Diffstat (limited to 'git-prune.sh')
-rwxr-xr-x | git-prune.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/git-prune.sh b/git-prune.sh index 7b61d05c4..c5a5d29aa 100755 --- a/git-prune.sh +++ b/git-prune.sh @@ -33,8 +33,7 @@ sed -ne '/unreachable /{ git-prune-packed $dryrun -redundant=$(git-pack-redundant --all) -if test "" != "$redundant" +if redundant=$(git-pack-redundant --all 2>/dev/null) && test "" != "$redundant" then if test "" = "$dryrun" then |