X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=git-push.sh;h=73dcf067cb2cb6c74ce0a51b055470b5c46222e4;hb=e4a0e2aac0e667a3a9b4449c5be4e084c4a9c44e;hp=706db9933e7a3d418a0bc77a743695464901b800;hpb=d9ad59e7636d98daa6131e9fd2cb2b4f5745a853;p=git.git diff --git a/git-push.sh b/git-push.sh index 706db9933..73dcf067c 100755 --- a/git-push.sh +++ b/git-push.sh @@ -8,6 +8,7 @@ USAGE='[--all] [--tags] [--force] [...]' has_all= has_force= has_exec= +has_thin= remote= do_tags= @@ -22,6 +23,8 @@ do has_force=--force ;; --exec=*) has_exec="$1" ;; + --thin) + has_thin="$1" ;; -*) usage ;; *) @@ -72,6 +75,7 @@ set x "$remote" "$@"; shift 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://*)