Re: [PATCH] show_date(): rename the "relative" parameter to "mode"

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

 




On Wed, 28 Feb 2007, Johannes Schindelin wrote:
> 
> If you use "next" Git:
> 
> 	$ git log --pretty=format:"%h %ad %an"

Well, that has the long-format date, which really isn't appropriate for a 
one-liner format. 

It's one of the reasons I agreed with your show_date() changes: I think 
our date output formats are fairly limited. I love the long date format, 
but if I want to show a commit name and author name and email on the same 
line, no way can we use 30+ characters for just the date.

So the part about the GNU ChangeLog format I like is the single-line 
header thing.. Right now, the choice between "--pretty=xxx" choices is 
"oneline", "short", "medium", and there's something lacking there in 
between ("terse").

The "format:" thing certainly gives us more options to play with, though.

			Linus
-
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]