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>
This commit is contained in:
Marco Roeland 2007-12-19 10:15:15 +01:00 committed by Junio C Hamano
parent 56122ed87a
commit 9d81e03b5c

View File

@ -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
'')