Re: [PATCH 0/7] teach branch-specific options for format-patch
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 7, 2019, 08:56 UTC
- Message-ID
- <xmqq4l66myn3.fsf@gitster-ct.c.googlers.com>
- In-Reply-To
- <cover.1557072929.git.liu.denton@gmail.com>
Denton Liu <liu.denton@gmail.com> writes:
Show 16 quoted lines
> Currently, format-patch only accepts branch.<name>.description as a > branch-specific configuration variable. However, there are many other > options which would be useful to have on a branch-by-branch basis, > namely cover letter subject and To: and Cc: headers. > > Teach format-patch to recognise these branch-specific configuration > options. > > Note that this patchset[1] was created using these new configuration > options: > > [branch "submitted/fix-revisions-txt"] > coverSubject = "cleanup revisions.txt" > cc = "Andreas Heiduk <asheiduk@gmail.com>" > cc = "Duy Nguyen <pclouds@gmail.com>" > cc = "Junio C Hamano <gitster@pobox.com>"
Do we have format.<something> configuration for these things?
What I am trying to get at is if these are better structured similar to http options where http.<something> supplies the overall default for <something>, while http.<destination>.<something> gives a more destination site specific override of that default. I.e. format.cc is used as fallback, while format.<branch>.cc is used to override.
In any case, it smells to me that branch.<branch>.cc does not hint strongly enough that they are meant to affect format-patch.