[prev in list] [next in list] [prev in thread] [next in thread] 

List:       git
Subject:    feature request: git-config: Add conditional include for gitbranch
From:       Jeremy Bicha <jbicha () ubuntu ! com>
Date:       2018-03-09 0:23:00
Message-ID: CAAajCMbFEF+1i8+MOpOfdMgChi0FfdA1CoCjKLjjKMT2m-58KQ () mail ! gmail ! com
[Download RAW message or body]

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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic