From: Marco Roeland Date: Wed, 19 Dec 2007 09:15:15 +0000 (+0100) Subject: clone: fix options '-o' and '--origin' to be recognised again X-Git-Tag: v1.5.4-rc1~8 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=9d81e03b5ca4e3841d56e6e57ff2b8100202ed6f;p=git.git clone: fix options '-o' and '--origin' to be recognised again Due to a subtle typo in a shell case pattern neither alternative worked. Signed-off-by: Marco Roeland Signed-off-by: Junio C Hamano --- diff --git a/git-clone.sh b/git-clone.sh index 9a160eea5..b4e858c38 100755 --- a/git-clone.sh +++ b/git-clone.sh @@ -152,7 +152,7 @@ do die "clones are always made with separate-remote layout" ;; --reference) shift; reference="$1" ;; - -o,--origin) + -o|--origin) shift; case "$1" in '')