Code

clone: fix options '-o' and '--origin' to be recognised again
authorMarco Roeland <marco.roeland@xs4all.nl>
Wed, 19 Dec 2007 09:15:15 +0000 (10:15 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 19 Dec 2007 22:59:18 +0000 (14:59 -0800)
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>
git-clone.sh

index 9a160eea525abae3c27e18217411f0d5f6c69399..b4e858c3885dab55398670d9497304eb83545d1f 100755 (executable)
@@ -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
                '')