Re: [PATCH 2/3] archive: specfile support (--pretty=format: in archive files)
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Sep 5, 2007, 00:23 UTC
- Message-ID
- <7vzm02klip.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <46DDE69C.1080908@lsrfire.ath.cx>
René Scharfe <rene.scharfe@lsrfire.ath.cx> writes:
Show 7 quoted lines
>> Maybe we should not so much name it by purpose, but by function. How >> about "substformat" for the attribute name, and replacing any >> $Format:blablub$ inside those files with something a la >> --pretty=format:blablub? > > I like the $Format:...$ notation. How about naming the attribute > "template", as that's what a thus marked file is?
Sounds good, although I suspect "template" might confuse newbies that checkout may apply the substitution as well. How about something with "export" in it? export-subst, perhaps?