From: randall.becker@nexbridge.ca Date: Mon, 12 Jul 2021 22:31:36 GMT Subject: [Patch 0/3] includeIf series for worktrees Message-ID: <20210712223139.24409-1-randall.becker@nexbridge.ca> From: "Randall S. Becker" Add support for includeIf with a worktree: prefix. This permits conditional includes that are specific to individual worktrees. The set of patches differ slightly from gitdir: as worktrees to not have .git/ directories, so matching repo/ is somewhat problematic - suggestings on dealing with that case are more than welcome. Also added worktree test condition to verify that onbranch: works in a worktree scenario as different from the main repository. Randall S. Becker (3): config.c: add conditional include based on worktree. Documentation/config.txt: add worktree includeIf conditionals. t1305: add tests for includeIf:worktree. Documentation/config.txt | 11 +++++- config.c | 63 ++++++++++++++++++++++++++++++ t/t1305-config-include.sh | 81 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 154 insertions(+), 1 deletion(-) -- 2.32.0