Han-Wen Nienhuys wrote: > Jakub Narebski escreveu: > >>> - --pretty option with wholly uninformative options full, medium, >>> short, raw. It's not even documented what each option does. >> >> And 'oneline' and undocumented 'email'. True, git lacks documentation (and >> this one of main complaints in git survey). > > The recently posted patch documenting is an improvement, but why not > add an option so you can do > > --format 'committer %c\nauthor %a\n' > > this catches all combinations, and is easier for scripting. > > Right now, I have some scripts that have to munge log output with > regular expressions to strip out the "author:" prefixes. If we ever implemented this, I'd rather to separate what is now of format parsing in git-for-each-ref (although I'd like to make it more like rpm's --query-format argument, with %-n{header}, %[array] etc.) into separate module, and reuse it for git-log and friends --pretty/--format handling. -- Jakub Narebski Warsaw, Poland ShadeHawk on #git - 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