diff options
author | Marco Roeland <marco.roeland@xs4all.nl> | 2007-12-19 10:15:15 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-12-19 14:59:18 -0800 |
commit | 9d81e03b5ca4e3841d56e6e57ff2b8100202ed6f (patch) | |
tree | 760d10079cc9ce713f9b317ff170719ee93d2b4c /git-clone.sh | |
parent | 56122ed87af181c88e3121795c292689ac574f01 (diff) | |
download | git-9d81e03b5ca4e3841d56e6e57ff2b8100202ed6f.tar.gz git-9d81e03b5ca4e3841d56e6e57ff2b8100202ed6f.tar.xz |
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 <marco.roeland@xs4all.nl>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-clone.sh')
-rwxr-xr-x | git-clone.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 '') |