diff options
author | Junio C Hamano <gitster@pobox.com> | 2023-06-20 22:53:13 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-06-20 22:53:13 (GMT) |
commit | 7cb4274d2606775b0d5b373756f76f386a31bb64 (patch) | |
tree | 4b3ddb8b70ec60ca3ff8402c9924ef547f717a65 /diff.c | |
parent | 9cd234e6465ab2bea5c402f0d9ee1495501250ef (diff) | |
parent | 3867f6d650c89230ae7393e2d57160ccc14758c7 (diff) | |
download | git-7cb4274d2606775b0d5b373756f76f386a31bb64.zip git-7cb4274d2606775b0d5b373756f76f386a31bb64.tar.gz git-7cb4274d2606775b0d5b373756f76f386a31bb64.tar.bz2 |
Merge branch 'vd/worktree-config-is-per-repository'
The value of config.worktree is per-repository, but has been kept
in a singleton global variable per process. This has been OK as
most Git operations interacted with a single repository at a time,
but not right for operations like recursive "grep" that want to
access multiple repositories from a single process without forking.
The global variable has been eliminated and made into a member in
the per-repository data structure.
* vd/worktree-config-is-per-repository:
repository: move 'repository_format_worktree_config' to repo scope
config: pass 'repo' directly to 'config_with_options()'
config: use gitdir to get worktree config
Diffstat (limited to 'diff.c')
0 files changed, 0 insertions, 0 deletions