Code

git-pull: do not barf on -a flag meant for git-fetch.
authorJunio C Hamano <junkio@cox.net>
Mon, 3 Oct 2005 22:45:44 +0000 (15:45 -0700)
committerJunio C Hamano <junkio@cox.net>
Mon, 3 Oct 2005 22:45:44 +0000 (15:45 -0700)
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-pull.sh

index 0290e517c2067a506e63a86c6f0b909426421678..d4765188b4ad9d41a0ffec333d9b449de03968a6 100755 (executable)
@@ -32,7 +32,8 @@ do
                strategy_args="${strategy_args}-s $strategy "
                ;;
        -*)
-               usage
+               # Pass thru anything that is meant for fetch.
+               break
                ;;
        esac
        shift