git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH 0/3] Add hostname condition to includeIf

From
Jeff King <peff@peff.net>
Date
Oct 14, 2026, 10:31 UTC
Message-ID
<20261014103118.GA1356555@coredump.intra.peff.net>
In-Reply-To
<20261012015846.2649843-1-bellacaselli20@gmail.com>
On Sun, Oct 11, 2026 at 10:58:43PM -0300, Isabella Caselli wrote:
Show 13 quoted lines
> This series adds a "hostname:" condition to includeIf, allowing a
> configuration file to be included only on machines whose hostname
> matches a pattern. It also adds GIT_HOSTNAME to "git var", so users
> can see which hostname Git uses for matching.
> 
> The series is based on Ignacio Encinas's v3 from March 2024 [1].
> Ignacio dropped the series and agreed to let me give it a try,
> so I am sending it as a new series.
> The "hostname:" patch retains his work and credits him with
> Based-on-patch-by.
> 
> Changes since Ignacio's v3:
> [...]

Thanks for thoroughly collecting and including all of the review feedback from the earlier round. I gave the series only a fairly cursory read, but I didn't see anything to complain about.

-Peff
Previous: Junio C Hamano
Message 15 of 15 in “hostname: includeIf condition — anyone already working on this?”
  1. Isabella CaselliSep 28, 2026
  2. Jeff KingSep 29, 2026
  3. Ignacio EncinasSep 29, 2026
  4. Jeff KingSep 29, 2026
  5. Junio C HamanoSep 29, 2026
  6. Isabella CaselliOct 2, 2026
  7. 0/3 Add hostname condition to includeIfIsabella Caselli, Oct 12, 2026
  8. 1/3 var: add GIT_HOSTNAMEIsabella Caselli, Oct 12, 2026
  9. 2/3 t6500: get hostname from "git var"Isabella Caselli, Oct 12, 2026
  10. Junio C HamanoOct 12, 2026
  11. Isabella CaselliOct 13, 2026
  12. Junio C HamanoOct 13, 2026
  13. 3/3 config: learn the "hostname:" includeIf conditionIsabella Caselli, Oct 12, 2026
  14. Junio C HamanoOct 12, 2026
  15. Jeff KingOct 14, 2026

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.