* Question about git-log --date and default behavior
@ 2007-08-26 23:35 Seth Falcon
2007-08-27 8:27 ` Jeff King
2007-08-27 8:44 ` Johannes Schindelin
0 siblings, 2 replies; 4+ messages in thread
From: Seth Falcon @ 2007-08-26 23:35 UTC (permalink / raw)
To: git
Is there a way have git-log use --date=local as the default for my
repositories?
I found that I could make an alias like 'llog' to do this, but I
wondered if there was a way that wouldn't require me to type anything
different.
+ seth
--
Seth Falcon
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Question about git-log --date and default behavior
2007-08-26 23:35 Question about git-log --date and default behavior Seth Falcon
@ 2007-08-27 8:27 ` Jeff King
2007-08-27 8:45 ` Jeff King
2007-08-27 8:44 ` Johannes Schindelin
1 sibling, 1 reply; 4+ messages in thread
From: Jeff King @ 2007-08-27 8:27 UTC (permalink / raw)
To: Seth Falcon; +Cc: git
On Sun, Aug 26, 2007 at 04:35:31PM -0700, Seth Falcon wrote:
> Is there a way have git-log use --date=local as the default for my
> repositories?
I don't think so. It would be nice to have a config option, but that
should almost certainly wait until post-1.5.3.
I think changing the default for 'git-log' should be OK, as it's a
porcelain, but others might disagree.
-Peff
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Question about git-log --date and default behavior
2007-08-26 23:35 Question about git-log --date and default behavior Seth Falcon
2007-08-27 8:27 ` Jeff King
@ 2007-08-27 8:44 ` Johannes Schindelin
1 sibling, 0 replies; 4+ messages in thread
From: Johannes Schindelin @ 2007-08-27 8:44 UTC (permalink / raw)
To: Seth Falcon; +Cc: git
Hi,
On Sun, 26 Aug 2007, Seth Falcon wrote:
> Is there a way have git-log use --date=local as the default for my
> repositories?
I guess this could break scripts (AFAIR gitk uses "git log" instead of
"git rev-list" these days, and parses the output).
Better stay with your alias.
Ciao,
Dscho
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Question about git-log --date and default behavior
2007-08-27 8:27 ` Jeff King
@ 2007-08-27 8:45 ` Jeff King
0 siblings, 0 replies; 4+ messages in thread
From: Jeff King @ 2007-08-27 8:45 UTC (permalink / raw)
To: Seth Falcon; +Cc: git
On Mon, Aug 27, 2007 at 04:27:50AM -0400, Jeff King wrote:
> I think changing the default for 'git-log' should be OK, as it's a
> porcelain, but others might disagree.
As Johannes pointed out, at least gitk is using 'git-log' behind the
scenes, so this is probably not a good idea. It seems like a bit of a
conflict, though, since git-log is supposed to be porcelain (I thought).
-Peff
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-08-27 8:45 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-26 23:35 Question about git-log --date and default behavior Seth Falcon
2007-08-27 8:27 ` Jeff King
2007-08-27 8:45 ` Jeff King
2007-08-27 8:44 ` Johannes Schindelin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).