From: Thomas Rast <trast@student.ethz.ch>
To: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Cc: git@vger.kernel.org, Junio C Hamano <gitster@pobox.com>,
"Shawn O. Pearce" <spearce@spearce.org>
Subject: Re: [PATCH 1/3] log: Show reflog date with --date=normal
Date: Tue, 28 Jul 2009 13:53:06 +0200 [thread overview]
Message-ID: <200907281353.07590.trast@student.ethz.ch> (raw)
In-Reply-To: <alpine.DEB.1.00.0907281248040.8306@pacific.mpi-cbg.de>
Johannes Schindelin wrote:
> Hi,
>
> On Tue, 28 Jul 2009, Thomas Rast wrote:
>
> > This means that 'git log -g --date=normal' shows the date, whereas 'git
> > log -g --date=default' shows the reflog entry number.
>
> I find this highly unintuitive, sorry. I'd prefer it if it showed the
> date whenever I specify a date format.
So you'd rather have a toggle --[no-]reflog-date? Which would make a
lot of sense, but probably not be backwards compatible in the sense
that log.date suddenly stops affecting the reflog date display.
> And I'd prefer not to have a distinction between "default" and
> "normal".
I actually had to change that because I wanted to allow the user to
override the log.date config. Saying --date=unspecified doesn't make
a lot of sense :-)
--
Thomas Rast
trast@{inf,student}.ethz.ch
next prev parent reply other threads:[~2009-07-28 11:53 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-28 8:40 [PATCH 1/3] log: Show reflog date with --date=normal Thomas Rast
2009-07-28 8:40 ` [PATCH 2/3] log: --date and --no-date to toggle reflog dates Thomas Rast
2009-07-28 8:40 ` [PATCH 3/3] bash completion: log --date, --no-date and --date=normal Thomas Rast
2009-07-28 10:49 ` [PATCH 1/3] log: Show reflog date with --date=normal Johannes Schindelin
2009-07-28 10:51 ` Johannes Schindelin
2009-07-28 11:53 ` Thomas Rast [this message]
2009-07-28 12:31 ` Johannes Schindelin
2009-07-28 13:11 ` Thomas Rast
2009-07-28 13:27 ` Johannes Schindelin
2009-07-28 17:05 ` Junio C Hamano
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=200907281353.07590.trast@student.ethz.ch \
--to=trast@student.ethz.ch \
--cc=Johannes.Schindelin@gmx.de \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=spearce@spearce.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 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).