git-push: make --thin pack transfer the default.
Just in case it has problems, you can say "git push --no-thin". Signed-off-by: Junio C Hamano <junkio@cox.net>
Junio C Hamano committed
Mar 25, 2006 at 18:27 UTC
84f11a43358b77a936770b908cb245ae1ad86c58
1 file changed
+4
-2
git-push.sh
+4
-2
@@ -8,7 +8,7 @@ USAGE='[--all] [--tags] [--force] <repository> [<refspec>...]'
8
has_all=
9
has_force=
10
has_exec=
11
-has_thin=
11
+has_thin=--thin
12
remote=
13
do_tags=
14
@@ -24,7 +24,9 @@ do
24
--exec=*)
25
has_exec="$1" ;;
26
--thin)
27
- has_thin="$1" ;;
27
+ ;; # noop
28
+ --no-thin)
29
+ has_thin= ;;
30
-*)
31
usage ;;
32
*)