зеркало из https://github.com/microsoft/git.git
Sync with maint
* maint: pull: pass upload_pack only when it was given
This commit is contained in:
Коммит
33f2c4ff7b
|
@ -295,7 +295,7 @@ test true = "$rebase" && {
|
||||||
}
|
}
|
||||||
orig_head=$(git rev-parse -q --verify HEAD)
|
orig_head=$(git rev-parse -q --verify HEAD)
|
||||||
git fetch $verbosity $progress $dry_run $recurse_submodules $all $append \
|
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
|
$refmap --update-head-ok "$@" || exit 1
|
||||||
test -z "$dry_run" || exit 0
|
test -z "$dry_run" || exit 0
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче