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

Inquiry about feature request #1665: Conditional includeIf by hostname

From
ASAyush Sharma <ayusharma1706@gmail.com>
Date
Aug 18, 2025, 09:29 UTC
Message-ID
<CAK8tCCJEAt33AMkPKZazcS1h9PKFig2ixCUC4V+D6--jyTuJnA@mail.gmail.com>
Hello,

I am writing to inquire about a feature request, issue #1665 on the gitgitgadget/git GitHub repository, which proposes adding a "hostname" condition for conditional includes.

The proposal, opened by Diogo-Rossi on February 15, 2024, suggests a new keyword to match the machine's hostname. As noted in the issue, a primary use case for this would be to simplify dotfiles management across different machines, which can be cumbersome with the current approaches.

The example provided was:
[includeIf "hostname:FIRSTMACHINE"]
    path = /path/to/firstmachineconfig.inc

I noticed that the issue is still open and does not appear to have any assignees or linked pull requests at this time.

I am interested in this feature and would like to ask if this is a direction the project would consider. If there is interest and no one is currently working on this, I would be happy to begin investigating and potentially work on a patch.

Thank you for your time and all your work on Git.
Best regards,
Ayush Sharma
Next: Junio C Hamano
Message 1 of 2 in “Inquiry about feature request #1665: Conditional includeIf by hostname”
  1. Ayush SharmaAug 18, 2025
  2. Junio C HamanoAug 18, 2025

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.