[PATCH 0/2] config: fix evaluating "onbranch" with nonexistent git dir
- From
Patrick Steinhardt <ps@pks.im>
- Date
- Sep 24, 2024, 10:05 UTC
- Message-ID
- <cover.1727171197.git.ps@pks.im>
- In-Reply-To
- <1b9fb3f3fde62594b9ac999ffb69e6c4fb9f6fd6@rjp.ie>
Hi,
this small patch series fixes evaluating "includeIf.onbranch" conditions when running outside of a repository with an invalid gitdir.
Thanks!
Patrick
Patrick Steinhardt (2): t1305: exercise edge cases of "onbranch" includes config: fix evaluating "onbranch" with nonexistent git dir
config.c | 15 +++++++++------ t/t1305-config-include.sh | 40 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+), 6 deletions(-)
-- 2.46.0.551.gc5ee8f2d1c.dirty