[RFC PATCH 0/1] Add hostname condition to includeIf
- From
- Ignacio Encinas <ignacio@iencinas.com>
- Date
- Mar 7, 2024, 20:50 UTC
- Message-ID
- <20240307205006.467443-1-ignacio@iencinas.com>
Hello,
First of all hello everyone, and thanks for developing git :)
I recently came across [1], which proposes further extending includeIf by supporting "hostname" as a condition.
I thought it would be a good feature to have in git so I gave it a try. Let me know what you think.
If you like the idea, I would be happy to add similar conditions like "username".
[1] https://github.com/gitgitgadget/git/issues/1665
Ignacio Encinas (1): config: learn the "hostname:" includeIf condition
Documentation/config.txt | 9 +++++++++ config.c | 16 ++++++++++++++++ t/t1305-config-include.sh | 22 ++++++++++++++++++++++ 3 files changed, 47 insertions(+)
base-commit: b387623c12f3f4a376e4d35a610fd3e55d7ea907
-- 2.44.0