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

Re: [RFC v2] reflog: show committer date in verbose mode

From
Duy Nguyen <pclouds@gmail.com>
Date
Jun 3, 2013, 10:37 UTC
Message-ID
<CACsJy8AOEhETjoM9a2qFbc=md_9aELervzvRMamDE35sCpPVqw@mail.gmail.com>
In-Reply-To
<CALkWK0k-cikpwue4iQDGJgP4NrGdkCw2r=dzzP78+QbsA5BiMA@mail.gmail.com>
On Mon, Jun 3, 2013 at 5:00 PM, Ramkumar Ramachandra <artagnon@gmail.com> wrote:
Show 9 quoted lines
> Jiang Xin wrote:
>> It will be nice to add this pretty formatter automatically when run
>> `git reflog` in verbose mode. And in order to support verbose mode, add
>> new flag "verbose" in struct rev_info.
>
> Sorry I missed earlier revisions of this patch.  Generally speaking,
> "verbose" is a bad way to control format-specifiers.  Why not add to
> the list of pretty-format specifiers (like oneline, short, medium,
> full)?

I think allowing to override the default format (e.g. via config key reflog.format or something) and even format of -v(s) may be more useful. People can define how "reflog show", "reflog show -v", "reflog show -vv".. will display. -- Duy

Previous: Ramkumar RamachandraNext: Jiang Xin
Message 3 of 5 in “[RFC v2] reflog: show committer date in verbose mode”
  1. Jiang XinJun 3, 2013
  2. Ramkumar RamachandraJun 3, 2013
  3. Duy NguyenJun 3, 2013
  4. Jiang XinJun 3, 2013
  5. Junio C HamanoJun 3, 2013

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.