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 коммит произвёл Junio C Hamano
Родитель 56122ed87a
Коммит 9d81e03b5c
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -152,7 +152,7 @@ do
die "clones are always made with separate-remote layout" ;; die "clones are always made with separate-remote layout" ;;
--reference) --reference)
shift; reference="$1" ;; shift; reference="$1" ;;
-o,--origin) -o|--origin)
shift; shift;
case "$1" in case "$1" in
'') '')