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

feature request: git-config: Add conditional include for gitbranch

From
JBJeremy Bicha <jbicha@ubuntu.com>
Date
Mar 9, 2018, 00:23 UTC
Message-ID
<CAAajCMbFEF+1i8+MOpOfdMgChi0FfdA1CoCjKLjjKMT2m-58KQ@mail.gmail.com>

Use Case ====== Jeremy is a developer for Debian and Ubuntu. The same repository is used for both Debian and Ubuntu packaging but with different branches. For commits to the debian/master branch, Jeremy wants to use his @debian.org email address. For commits to the ubuntu/master branch, Jeremy wants to use his @ubuntu.com email.

Proposal ======= The includeIf feature of git-config could be extended to offer a gitbranch conditional include in addition to the gitdir conditional include it already offers.

Thanks, Jeremy Bicha

Next: Duy Nguyen
Message 1 of 2 in “feature request: git-config: Add conditional include for gitbranch”
  1. Jeremy BichaMar 9, 2018
  2. Duy NguyenMar 9, 2018

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.