Skip to content

Commit

Permalink
Sync with maint
Browse files Browse the repository at this point in the history
* maint:
  pull: pass upload_pack only when it was given
  • Loading branch information
Junio C Hamano committed Aug 25, 2015
2 parents 8da8889 + 52f6893 commit 33f2c4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/examples/git-pull.sh
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ test true = "$rebase" && {
}
orig_head=$(git rev-parse -q --verify HEAD)
git fetch $verbosity $progress $dry_run $recurse_submodules $all $append \
${upload_pack+"$upload_pack"} $force $tags $prune $keep $depth $unshallow $update_shallow \
${upload_pack:+"$upload_pack"} $force $tags $prune $keep $depth $unshallow $update_shallow \
$refmap --update-head-ok "$@" || exit 1
test -z "$dry_run" || exit 0

Expand Down

0 comments on commit 33f2c4f

Please sign in to comment.