summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2245be3)
raw | patch | inline | side by side (parent: 2245be3)
author | Junio C Hamano <junkio@cox.net> | |
Mon, 20 Feb 2006 08:09:41 +0000 (00:09 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Mon, 20 Feb 2006 08:09:41 +0000 (00:09 -0800) |
Maybe we would want to make this default before it graduates to
the master branch, but in the meantime to help testing things,
this allows you to say "git push --thin destination".
Signed-off-by: Junio C Hamano <junkio@cox.net>
the master branch, but in the meantime to help testing things,
this allows you to say "git push --thin destination".
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-push.sh | patch | blob | history |
diff --git a/git-push.sh b/git-push.sh
index 706db9933e7a3d418a0bc77a743695464901b800..73dcf067cb2cb6c74ce0a51b055470b5c46222e4 100755 (executable)
--- a/git-push.sh
+++ b/git-push.sh
has_all=
has_force=
has_exec=
+has_thin=
remote=
do_tags=
has_force=--force ;;
--exec=*)
has_exec="$1" ;;
+ --thin)
+ has_thin="$1" ;;
-*)
usage ;;
*)
test "$has_all" && set x "$has_all" "$@" && shift
test "$has_force" && set x "$has_force" "$@" && shift
test "$has_exec" && set x "$has_exec" "$@" && shift
+test "$has_thin" && set x "$has_thin" "$@" && shift
case "$remote" in
http://* | https://*)