From: Brian Downing Date: Thu, 12 Jul 2007 12:55:51 +0000 (-0500) Subject: Add --window-memory option to git-repack X-Git-Tag: v1.5.3-rc1~7 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=121b42a5b4839c7d8756b0da3e6ed18e720b1295;p=git.git Add --window-memory option to git-repack Signed-off-by: Brian Downing Acked-by: Nicolas Pitre Signed-off-by: Junio C Hamano --- diff --git a/git-repack.sh b/git-repack.sh index b5c667110..156c5e8f4 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