All of lore.kernel.org
 help / color / mirror / Atom feed
From: Miles Bader <miles@gnu.org>
To: git@vger.kernel.org
Subject: Re: orthogonal cases of log --date option
Date: Fri, 06 Mar 2009 10:47:10 +0900	[thread overview]
Message-ID: <87bpsffmn5.fsf@catnip.gol.com> (raw)
In-Reply-To: 20090305104304.GA17760@coredump.intra.peff.net

Jeff King <peff@peff.net> writes:
>   git log --local-dates --date=default
>
> This makes the interface simpler to understand: --date remains a
> selector, and --date=local is a special case that new people don't need
> to think about or understand.

I agree, a separate option is more clear.

I suppose (as Junio later commented) that an explicit "--date-tz" option
might be cool too, though I suppose 99% of the time, people would only
ever specify "--date-tz=local" or "--date-gz=gmt"...

[one use-case I can think of for a more general option would be
if you want to see a log from somebody else's point of view ... "when
was john in san francisco doing all that hacking?"]

-Miles

-- 
The trouble with most people is that they think with their hopes or
fears or wishes rather than with their minds.  -- Will Durant

      parent reply	other threads:[~2009-03-06  1:48 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-03  8:18 orthogonal cases of log --date option Miles Bader
2009-03-03  8:34 ` Jeff King
2009-03-03  8:45 ` Junio C Hamano
2009-03-05 10:43   ` Jeff King
2009-03-05 21:04     ` Jay Soffian
2009-03-05 21:11       ` Jeff King
2009-03-05 22:21         ` Junio C Hamano
2009-03-06  5:23           ` Jeff King
2009-03-06  6:50             ` Junio C Hamano
2009-03-06  6:58               ` Jay Soffian
2009-03-06  8:02                 ` Junio C Hamano
2009-03-06  8:31                   ` Jay Soffian
2009-03-06  8:58                     ` Junio C Hamano
2009-03-06 12:12                       ` Jeff King
2009-03-06 12:10                 ` Jeff King
2009-03-06 12:09               ` Jeff King
2009-03-06  1:47     ` Miles Bader [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bpsffmn5.fsf@catnip.gol.com \
    --to=miles@gnu.org \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.