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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux