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

Re: [PATCH 2/3] archive: specfile support (--pretty=format: in archive files)

From: Johannes Schindelin <hidden>
Date: 2016-06-15 22:43:33

Hi,

On Mon, 3 Sep 2007, Ren? Scharfe wrote:
Add support for a new attribute, specfile.  Files marked as being
specfiles are expanded by git-archive when they are written to an
archive.  It has no effect on worktree files.  The same placeholders
as those for the option --pretty=format: of git-log et al. can be
used.
I almost like this approach.  Would it not be a little more useful if you 
could mark the placeholders with something like "$Format: xyz %c$"?  
Because then we could just shut up all those complainers that want to 
insert some revision specific information into the files, without 
affecting formats for printf().

Of course, the idea to keep the worktree unaffected is brilliant.

Ciao,
Dscho
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help