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