Thread (2 messages) flat view 2 messages, 2 authors, 2016-06-15

Re: [PATCH] format-patch: add --filename-prefix to prepend a prefix to output file names

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:46:57

Stephen Boyd [off-list ref] writes:
Also, this doesn't replace the numbering (0001, 0002, etc.) which I
consider to be a prefix. Does anyone else feel the same way?
Isn't the point of the exercise to come up with something like:

      frotz-0001-first-patch-in-frotz-topic.patch
      frotz-0002-second-patch-in-frotz-topic.patch
      frotz-0003-third-patch-in-frotz-topic.patch

      nitfol-0001-first-patch-in-nitfol-topic.patch
      nitfol-0002-second-patch-in-nitfol-topic.patch

with two invocations of format-patch, and when they are dropped in the
same directory, the patches from the same series clump together?

I personally do not think this is worth the additional code (you can
easily run with --outdir=frotz and then with --outdir=nitfol and obtain
frotz/000?-*.patch and nitfol/000?-*.patch to get the same clumping) but
if the convention is to use dash instead of slash, the patch will save one
step from users.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help