We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8da8889 + 52f6893 commit 33f2c4fCopy full SHA for 33f2c4f
contrib/examples/git-pull.sh
@@ -295,7 +295,7 @@ test true = "$rebase" && {
295
}
296
orig_head=$(git rev-parse -q --verify HEAD)
297
git fetch $verbosity $progress $dry_run $recurse_submodules $all $append \
298
-${upload_pack+"$upload_pack"} $force $tags $prune $keep $depth $unshallow $update_shallow \
+${upload_pack:+"$upload_pack"} $force $tags $prune $keep $depth $unshallow $update_shallow \
299
$refmap --update-head-ok "$@" || exit 1
300
test -z "$dry_run" || exit 0
301
0 commit comments