Thread (18 messages) 18 messages, 4 authors, 2024-03-19
STALE826d
Revisions (3)
  1. rfc current
  2. v2 [diff vs current]
  3. v3 [diff vs current]

[RFC PATCH 0/1] Add hostname condition to includeIf

From: Ignacio Encinas <hidden>
Date: 2024-03-07 20:50:31

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help