summaryrefslogtreecommitdiff
path: root/git-pull.sh
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-10-03 15:45:44 -0700
committerJunio C Hamano <junkio@cox.net>2005-10-03 15:45:44 -0700
commit619e5a0ed4a53653085961b7aefe1f93ed879949 (patch)
treeb9f5addb7ac360a5ea93d6ec19d232abe0afc1f9 /git-pull.sh
parentdf8baa42fe4eeb5a021ac262caf601f44d2a5746 (diff)
downloadgit-619e5a0ed4a53653085961b7aefe1f93ed879949.tar.gz
git-pull: do not barf on -a flag meant for git-fetch.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-pull.sh')
-rwxr-xr-xgit-pull.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/git-pull.sh b/git-pull.sh
index 0290e517c2..d4765188b4 100755
--- a/git-pull.sh
+++ b/git-pull.sh
@@ -32,7 +32,8 @@ do
strategy_args="${strategy_args}-s $strategy "
;;
-*)
- usage
+ # Pass thru anything that is meant for fetch.
+ break
;;
esac
shift