зеркало из https://github.com/microsoft/git.git
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:
Родитель
56122ed87a
Коммит
9d81e03b5c
|
@ -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
|
||||||
'')
|
'')
|
||||||
|
|
Загрузка…
Ссылка в новой задаче