From: Junio C Hamano Date: Wed, 08 May 2019 01:45:41 GMT Subject: Re: [PATCH 0/7] teach branch-specific options for format-patch Message-ID: In-Reply-To: <87tve6gtcp.fsf@evledraar.gmail.com> Ævar Arnfjörð Bjarmason writes: > This may just be more insanity to implement right now, but perhaps in > addition to "gitdir:" etc. in the IncludeIf config syntax we'd want to > aim for "HEADref" (or some saner name). I.e. allowing to include/enable > arbitrary config based on the ref name. > > Chicken & egg problems though... The saner name might be [IncludeIf "onBranch:my-topic"] path = ... Would we discard the section when "branch -d my-topic" is done, or would we keep it for the next creation of the branch with the same name?