Skip to content

Commit

Permalink
clone: fix options '-o' and '--origin' to be recognised again
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Marco Roeland authored and Junio C Hamano committed Dec 19, 2007
1 parent 56122ed commit 9d81e03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-clone.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
'')
Expand Down

0 comments on commit 9d81e03

Please sign in to comment.