Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
pack-objects: fix thinko in revalidate code
[gitweb.git]
/
git-repack.sh
diff --git
a/git-repack.sh
b/git-repack.sh
index 9da92fb06139dc53061876f1532d9ee8c46d5346..584a7323acd79e4092910ec4415f51603eccea61 100755
(executable)
--- a/
git-repack.sh
+++ b/
git-repack.sh
@@
-38,7
+38,7
@@
case ",$all_into_one," in
pack_objects=
# Redundancy check in all-into-one case is trivial.
- existing=`cd "$PACKDIR" && \
+ existing=`
test -d "$PACKDIR" &&
cd "$PACKDIR" && \
find . -type f \( -name '*.pack' -o -name '*.idx' \) -print`
;;
esac