feature request: git-config: Add conditional include for gitbranch
- From
- Jeremy 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