Skip to content

Commit 33f2c4f

Browse files
committed
Sync with maint
* maint: pull: pass upload_pack only when it was given
2 parents 8da8889 + 52f6893 commit 33f2c4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/examples/git-pull.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ test true = "$rebase" && {
295295
}
296296
orig_head=$(git rev-parse -q --verify HEAD)
297297
git fetch $verbosity $progress $dry_run $recurse_submodules $all $append \
298-
${upload_pack+"$upload_pack"} $force $tags $prune $keep $depth $unshallow $update_shallow \
298+
${upload_pack:+"$upload_pack"} $force $tags $prune $keep $depth $unshallow $update_shallow \
299299
$refmap --update-head-ok "$@" || exit 1
300300
test -z "$dry_run" || exit 0
301301

0 commit comments

Comments
 (0)