diff options
| author | Patrick Steinhardt <ps@pks.im> | 2024-05-15 08:42:39 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-05-15 07:17:55 -0700 |
| commit | 65d197cffc7ad52c61398c2579efa988779cc7ab (patch) | |
| tree | 44339236702726f887de999634e9cc14a9414155 /contrib/persistent-https/socket.go | |
| parent | builtin/config: move `respect_includes_opt` into location options (diff) | |
| download | git-65d197cffc7ad52c61398c2579efa988779cc7ab.tar.gz git-65d197cffc7ad52c61398c2579efa988779cc7ab.zip | |
builtin/config: convert `do_not_match` to a local variable
The `do_not_match` variable is used by the `format_config()` callback as
an indicator whether or not the passed regular expression is negated. It
is only ever set up by its only caller, `collect_config()` and can thus
easily be moved into the `collect_config_data` structure.
Do so to remove our reliance on global state.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/persistent-https/socket.go')
0 files changed, 0 insertions, 0 deletions
