git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH 1/3] log: Show reflog date with --date=normal

From
Thomas Rast <trast@student.ethz.ch>
Date
Jul 28, 2009, 11:53 UTC
Message-ID
<200907281353.07590.trast@student.ethz.ch>
In-Reply-To
<alpine.DEB.1.00.0907281248040.8306@pacific.mpi-cbg.de>
Johannes Schindelin wrote:
Show 9 quoted lines
> 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
Previous: Johannes SchindelinNext: Johannes Schindelin
Message 6 of 10 in “log: Show reflog date with --date=normal”
  1. 1/3 log: Show reflog date with --date=normalThomas Rast, Jul 28, 2009
  2. 2/3 log: --date and --no-date to toggle reflog datesThomas Rast, Jul 28, 2009
  3. 3/3 bash completion: log --date, --no-date and --date=normalThomas Rast, Jul 28, 2009
  4. Johannes SchindelinJul 28, 2009
  5. Johannes SchindelinJul 28, 2009
  6. Thomas RastJul 28, 2009
  7. Johannes SchindelinJul 28, 2009
  8. Thomas RastJul 28, 2009
  9. Johannes SchindelinJul 28, 2009
  10. Junio C HamanoJul 28, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.