summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 718258e)
raw | patch | inline | side by side (parent: 718258e)
author | Junio C Hamano <gitster@pobox.com> | |
Sat, 28 Feb 2009 07:58:50 +0000 (23:58 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 28 Feb 2009 09:06:05 +0000 (01:06 -0800) |
The script used $args and $existing without initializing it to empty. It
would have been confused by an environment variable the end user had
before running it.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
would have been confused by an environment variable the end user had
before running it.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-repack.sh | patch | blob | history |
diff --git a/git-repack.sh b/git-repack.sh
index 458a497af810c7bb188a5aafb80c32aa0bc05264..86000151ccbe259132c6cf25d6c23e3f763aba06 100755 (executable)
--- a/git-repack.sh
+++ b/git-repack.sh
args='--unpacked --incremental'
;;
,t,)
+ args= existing=
if [ -d "$PACKDIR" ]; then
for e in `cd "$PACKDIR" && find . -type f -name '*.pack' \
| sed -e 's/^\.\///' -e 's/\.pack$//'`