Skip to content

Commit 9d81e03

Browse files
fiberbitgitster
authored andcommitted
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>
1 parent 56122ed commit 9d81e03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git-clone.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ do
152152
die "clones are always made with separate-remote layout" ;;
153153
--reference)
154154
shift; reference="$1" ;;
155-
-o,--origin)
155+
-o|--origin)
156156
shift;
157157
case "$1" in
158158
'')

0 commit comments

Comments
 (0)