summaryrefslogtreecommitdiff
path: root/git-clone.sh
diff options
context:
space:
mode:
authorMarco Roeland <marco.roeland@xs4all.nl>2007-12-19 10:15:15 +0100
committerJunio C Hamano <gitster@pobox.com>2007-12-19 14:59:18 -0800
commit9d81e03b5ca4e3841d56e6e57ff2b8100202ed6f (patch)
tree760d10079cc9ce713f9b317ff170719ee93d2b4c /git-clone.sh
parent56122ed87af181c88e3121795c292689ac574f01 (diff)
downloadgit-9d81e03b5ca4e3841d56e6e57ff2b8100202ed6f.tar.gz
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-xgit-clone.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-clone.sh b/git-clone.sh
index 9a160eea52..b4e858c388 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
'')