Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Add --window-memory option to git-repack
author
Brian Downing
<bdowning@lavos.net>
Thu, 12 Jul 2007 12:55:51 +0000
(07:55 -0500)
committer
Junio C Hamano
<gitster@pobox.com>
Thu, 12 Jul 2007 21:32:35 +0000
(14:32 -0700)
Signed-off-by: Brian Downing <bdowning@lavos.net>
Acked-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-repack.sh
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
a97773c
)
diff --git
a/git-repack.sh
b/git-repack.sh
index b5c667110d31fe9e083f8b7d4db727ed63333e37..156c5e8f4aa2f6c04e33af323ef43356fd336adb 100755
(executable)
--- a/
git-repack.sh
+++ b/
git-repack.sh
@@
-3,7
+3,7
@@
# Copyright (c) 2005 Linus Torvalds
#
# 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
SUBDIRECTORY_OK='Yes'
. git-sh-setup
@@
-20,6
+20,7
@@
do
-l) local=--local ;;
--max-pack-size=*) extra="$extra $1" ;;
--window=*) extra="$extra $1" ;;
-l) local=--local ;;
--max-pack-size=*) extra="$extra $1" ;;
--window=*) extra="$extra $1" ;;
+ --window-memory=*) extra="$extra $1" ;;
--depth=*) extra="$extra $1" ;;
*) usage ;;
esac
--depth=*) extra="$extra $1" ;;
*) usage ;;
esac