@matheusbsbs / matheus-bagliano / commits / 9d81e03b5c
Fork 0

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>

Marco Roeland committed Dec 19, 2007 at 10:15 UTC 9d81e03b5ca4e3841d56e6e57ff2b8100202ed6f
1 file changed +1 -1
git-clone.sh
+1 -1
@@ -152,7 +152,7 @@ do
152 die "clones are always made with separate-remote layout" ;;
153 --reference)
154 shift; reference="$1" ;;
155 - -o,--origin)
155 + -o|--origin)
156 shift;
157 case "$1" in
158 '')