X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=git-pull.sh;h=c3f05f56de300ad48d940def184698fb37c40028;hb=55246aac6717e86c14f31391ac903ed810d1a9a0;hp=5e96d1f228da506b11452abec70e7c50d8907733;hpb=f8db7884286232274c8e7c7d82a35a2478b097d3;p=git.git diff --git a/git-pull.sh b/git-pull.sh index 5e96d1f22..c3f05f56d 100755 --- a/git-pull.sh +++ b/git-pull.sh @@ -16,7 +16,7 @@ test -z "$(git ls-files -u)" || die "You are in the middle of a conflicted merge." strategy_args= no_summary= no_commit= squash= -while case "$#,$1" in 0) break ;; *,-*) ;; *) break ;; esac +while : do case "$1" in -n|--n|--no|--no-|--no-s|--no-su|--no-sum|--no-summ|\ @@ -46,8 +46,8 @@ do -h|--h|--he|--hel|--help) usage ;; - -*) - # Pass thru anything that is meant for fetch. + *) + # Pass thru anything that may be meant for fetch. break ;; esac