Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
wt-status: Actually accept `color.status.BLAH' configuration variables.
[gitweb.git]
/
git-clone.sh
diff --git
a/git-clone.sh
b/git-clone.sh
index 0f7bbbfb39cb4eb08379b8441b1ceab3d55d18e5..ced7dfba3e205214e9e88d25d58017649e7ffe07 100755
(executable)
--- a/
git-clone.sh
+++ b/
git-clone.sh
@@
-163,7
+163,9
@@
while
1,-u|1,--upload-pack) usage ;;
*,-u|*,--upload-pack)
shift
- upload_pack="--exec=$1" ;;
+ upload_pack="--upload-pack=$1" ;;
+ *,--upload-pack=*)
+ upload_pack=--upload-pack=$(expr "$1" : '-[^=]*=\(.*\)') ;;
1,--depth) usage;;
*,--depth)
shift