diff options
| author | Junio C Hamano <gitster@pobox.com> | 2023-06-20 15:53:13 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2023-06-20 15:53:13 -0700 |
| commit | 7cb4274d2606775b0d5b373756f76f386a31bb64 (patch) | |
| tree | 4b3ddb8b70ec60ca3ff8402c9924ef547f717a65 /diff.h | |
| parent | Merge branch 'tb/submodule-null-deref-fix' (diff) | |
| parent | repository: move 'repository_format_worktree_config' to repo scope (diff) | |
| download | git-7cb4274d2606775b0d5b373756f76f386a31bb64.tar.gz git-7cb4274d2606775b0d5b373756f76f386a31bb64.zip | |
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.h')
0 files changed, 0 insertions, 0 deletions
