diff options
author | Jonathan Tan <jonathantanmy@google.com> | 2021-06-17 10:13:23 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-06-28 09:57:42 -0700 |
commit | ef7dc2e9ccb832c1dc29d5102c09f6c4a51d4dca (patch) | |
tree | 41fcf5bf22fa1ce772820e17da982e11ed1dd9b8 /decorate.h | |
parent | repository: move global r_f_p_c to repo struct (diff) | |
download | tgif-ef7dc2e9ccb832c1dc29d5102c09f6c4a51d4dca.tar.xz |
promisor-remote: support per-repository config
Instead of using global variables to store promisor remote information,
store this config in struct repository instead, and add
repository-agnostic non-static functions corresponding to the existing
non-static functions that only work on the_repository.
The actual lazy-fetching of missing objects currently does not work on
repositories other than the_repository, and will still not work after
this commit, so add a BUG message explaining this. A subsequent commit
will remove this limitation.
Signed-off-by: Jonathan Tan <jonathantanmy@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Reviewed-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'decorate.h')
0 files changed, 0 insertions, 0 deletions