From: Marco Roeland Date: Wed, 19 Dec 2007 09:15:15 GMT Subject: [PATCH] clone: fix options '-o' and '--origin' to be recognised again Message-ID: <20071219091515.GA20707@fiberbit.xs4all.nl> Due to a subtle typo in a shell case pattern neither alternative worked. Signed-off-by: Marco Roeland --- This is a regression in 'next', introduced on Nov 4th by commit 94362599 "Migrate git-clone to use git-rev-parse --parseopt". Added Kristian as he works on the builtin version; perhaps nice for a test case (!). git-clone.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/git-clone.sh b/git-clone.sh index 9a160ee..b4e858c 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 '') -- 1.5.4.rc0.1162.g3bfea