Web lists-archives.com

Re: [PATCH 0/7] teach branch-specific options for format-patch

Denton Liu <liu.denton@xxxxxxxxx> writes:

> 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@xxxxxxxxx>"
> 		cc = "Duy Nguyen <pclouds@xxxxxxxxx>"
> 		cc = "Junio C Hamano <gitster@xxxxxxxxx>"

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.