Dear diary, on Fri, Jul 22, 2005 at 11:16:51PM CEST, I got a letter where Junio C Hamano <[EMAIL PROTECTED]> told me that... > 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 @[EMAIL PROTECTED] 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 - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html