summaryrefslogtreecommitdiff
path: root/git-repack.sh
diff options
context:
space:
mode:
authorBrian Downing <bdowning@lavos.net>2007-07-12 07:55:51 -0500
committerJunio C Hamano <gitster@pobox.com>2007-07-12 14:32:35 -0700
commit121b42a5b4839c7d8756b0da3e6ed18e720b1295 (patch)
treec6c869597a73f4ddbfd2eb8bb73c78e7e0d27174 /git-repack.sh
parenta97773ce7e4fb635615d3b363f144d8c8a780fea (diff)
downloadgit-121b42a5b4839c7d8756b0da3e6ed18e720b1295.tar.gz
Add --window-memory option to git-repack
Signed-off-by: Brian Downing <bdowning@lavos.net> Acked-by: Nicolas Pitre <nico@cam.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-repack.sh')
-rwxr-xr-xgit-repack.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/git-repack.sh b/git-repack.sh
index b5c667110d..156c5e8f4a 100755
--- a/git-repack.sh
+++ b/git-repack.sh
@@ -3,7 +3,7 @@
# Copyright (c) 2005 Linus Torvalds
#
-USAGE='[-a] [-d] [-f] [-l] [-n] [-q] [--max-pack-size=N] [--window=N] [--depth=N]'
+USAGE='[-a] [-d] [-f] [-l] [-n] [-q] [--max-pack-size=N] [--window=N] [--window-memory=N] [--depth=N]'
SUBDIRECTORY_OK='Yes'
. git-sh-setup
@@ -20,6 +20,7 @@ do
-l) local=--local ;;
--max-pack-size=*) extra="$extra $1" ;;
--window=*) extra="$extra $1" ;;
+ --window-memory=*) extra="$extra $1" ;;
--depth=*) extra="$extra $1" ;;
*) usage ;;
esac