config: fix evaluating "onbranch" with nonexistent git dir
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | t1305: exercise edge cases of "onbranch" includest/ | +40 | 1 reply | |
| 2/2 | config: fix evaluating "onbranch" with nonexistent git dirconfig.c t/ | +10 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] config: fix evaluating "onbranch" with nonexistent git dir
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(-)
Signature · 1 line
2.46.0.551.gc5ee8f2d1c.dirty