Re: [PATCH 0/7] teach branch-specific options for format-patch
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 8, 2019, 01:45 UTC
- Message-ID
- <xmqqh8a5k9bu.fsf@gitster-ct.c.googlers.com>
- In-Reply-To
- <87tve6gtcp.fsf@evledraar.gmail.com>
Ævar Arnfjörð Bjarmason <avarab@gmail.com> writes:
Show 6 quoted lines
> 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?