Re: [PATCH 1/1] Tell vim the textwidth is 75.
- From
Petr Baudis <pasky@suse.cz>
- Date
- Jul 22, 2005, 21:27 UTC
- Message-ID
- <20050722212725.GJ11916@pasky.ji.cz>
- In-Reply-To
- <7vr7dqpmm4.fsf@assigned-by-dhcp.cox.net>
Dear diary, on Fri, Jul 22, 2005 at 11:16:51PM CEST, I got a letter where Junio C Hamano <junkio@cox.net> told me that...
Show 14 quoted lines
> Wonderful start. > > Later on, Porcelains could agree on what @TOKEN@ are generally > available, and even start using a common script to pre-fill the > templates, like: > > $ git-fill-template-script <template> <output-file> var=val var=val... > > In your example, I see AUTHOR_NAME, AUTHOR_EMAIL, and > AUTHOR_DATE (I'd use GIT_AUTHOR_NAME etc to match existing > environment variables, though) would be something that are > probably common across Porcelains, and the Porcelain would not > even have to bother passing them as the command argument to > fill-template.
Good idea. More interesting exercise would be to make a script which extracts the values back after the user had a chance to touch it.
> About FILELIST, the default would be to do "git-diff-cache --name-only > HEAD", but if a Porcelain keeps track of "modified" files differently > it can be overridden by passing FILELIST as an explicit parameter.
Cogito shows '[NMD] filename' in place of @FILELIST@.
This brings me to another subject, M and N are pretty hard to distinguish visually without close inspection of the output. What about switching to use A instead of N everywhere?
-- Petr "Pasky" Baudis Stuff: http://pasky.or.cz/ If you want the holes in your knowledge showing up try teaching someone. -- Alan Cox