git/builtin
Christian Couder b14ed5adaf Use promisor_remote_get_direct() and has_promisor_remote()
Instead of using the repository_format_partial_clone global
and fetch_objects() directly, let's use has_promisor_remote()
and promisor_remote_get_direct().

This way all the configured promisor remotes will be taken
into account, not only the one specified by
extensions.partialClone.

Also when cloning or fetching using a partial clone filter,
remote.origin.promisor will be set to "true" instead of
setting extensions.partialClone to "origin". This makes it
possible to use many promisor remote just by fetching from
them.

Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2019-06-25 14:05:37 -07:00
..
add.c
am.c Merge branch 'jk/am-i-resolved-fix' 2019-06-17 10:15:15 -07:00
annotate.c
apply.c
archive.c
bisect--helper.c bisect--helper: verify HEAD could be parsed before continuing 2019-05-28 10:51:01 -07:00
blame.c
branch.c
bundle.c
cat-file.c Use promisor_remote_get_direct() and has_promisor_remote() 2019-06-25 14:05:37 -07:00
check-attr.c
check-ignore.c
check-mailmap.c
check-ref-format.c
checkout-index.c
checkout.c
clean.c
clone.c Merge branch 'xl/record-partial-clone-origin' 2019-06-17 10:15:20 -07:00
column.c
commit-graph.c
commit-tree.c
commit.c Merge branch 'pw/clean-sequencer-state-upon-final-commit' 2019-05-13 23:50:35 +09:00
config.c
count-objects.c
credential.c
describe.c
diff-files.c
diff-index.c
diff-tree.c
diff.c
difftool.c Merge branch 'js/difftool-no-index' 2019-05-19 16:45:35 +09:00
fast-export.c fast-export: do automatic reencoding of commit messages only if requested 2019-05-14 16:48:56 +09:00
fetch-pack.c
fetch.c Use promisor_remote_get_direct() and has_promisor_remote() 2019-06-25 14:05:37 -07:00
fmt-merge-msg.c
for-each-ref.c
fsck.c
gc.c Use promisor_remote_get_direct() and has_promisor_remote() 2019-06-25 14:05:37 -07:00
get-tar-commit-id.c
grep.c
hash-object.c
help.c
index-pack.c Use promisor_remote_get_direct() and has_promisor_remote() 2019-06-25 14:05:37 -07:00
init-db.c Merge branch 'nd/init-relative-template-fix' 2019-06-13 13:18:46 -07:00
interpret-trailers.c
log.c Merge branch 'dl/format-patch-notes-config' 2019-06-13 13:19:42 -07:00
ls-files.c
ls-remote.c
ls-tree.c
mailinfo.c
mailsplit.c
merge-base.c
merge-file.c
merge-index.c
merge-ours.c
merge-recursive.c
merge-tree.c
merge.c Merge branch 'vv/merge-squash-with-explicit-commit' 2019-06-17 10:15:17 -07:00
mktag.c
mktree.c
multi-pack-index.c
mv.c
name-rev.c
notes.c
pack-objects.c Merge branch 'jk/unused-params-final-batch' 2019-06-13 13:19:34 -07:00
pack-redundant.c
pack-refs.c
patch-id.c
prune-packed.c
prune.c
pull.c
push.c
range-diff.c
read-tree.c
rebase.c Merge branch 'js/rebase-cleanup' 2019-06-13 13:19:40 -07:00
receive-pack.c
reflog.c
remote-ext.c
remote-fd.c
remote.c
repack.c Use promisor_remote_get_direct() and has_promisor_remote() 2019-06-25 14:05:37 -07:00
replace.c
rerere.c
reset.c
rev-list.c
rev-parse.c
revert.c
rm.c
send-pack.c
shortlog.c
show-branch.c
show-index.c
show-ref.c Merge branch 'en/unicode-in-refnames' 2019-05-19 16:45:30 +09:00
stash.c
stripspace.c
submodule--helper.c Merge branch 'jk/unused-params-final-batch' 2019-06-13 13:19:34 -07:00
symbolic-ref.c
tag.c Merge branch 'dl/warn-tagging-a-tag' 2019-05-19 16:45:26 +09:00
unpack-file.c
unpack-objects.c
update-index.c fill_stat_cache_info(): prepare for an fsmonitor fix 2019-05-28 12:43:42 -07:00
update-ref.c
update-server-info.c
upload-archive.c
upload-pack.c
var.c
verify-commit.c
verify-pack.c
verify-tag.c
worktree.c Merge branch 'nd/worktree-name-sanitization' 2019-06-13 13:19:40 -07:00
write-tree.c