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

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

From
Jiang Xin <worldhello.net@gmail.com>
Date
May 31, 2013, 01:52 UTC
Message-ID
<CANYiYbG0Wy1kL7p6GfzBxfTGFJon21Ob5VVno=N5Wf2vqwxchA@mail.gmail.com>
In-Reply-To
<c05d3472f28695a10154cda8ed2c973baf5e20b7.1369964641.git.worldhello.net@gmail.com>
2013/5/31 Jiang Xin <worldhello.net@gmail.com>:
Show 7 quoted lines
> By default, reflog won't show committer date and for some cases won't
> show commit log either. It will be helpful to show them all by passing
> a more complicated pretty formatter to `git reflog` like this:
>
>     $ git reflog show \
>       --pretty="%Cred%h%Creset %gd: %gs%n  >> %Cblue%ci (%cr)%Creset: %s"
>
For example:

$ git reflog show master edca41 master@{0}: merge kernel/master: Fast-forward 5e49f master@{1}: merge kernel/master: Fast-forward de3a5 master@{2}: merge kernel/master: Fast-forward 0c2b1 master@{3}: merge kernel/master: Fast-forward b387c master@{4}: merge kernel/master: Fast-forward 9b795 master@{5}: merge kernel/master: Fast-forward 4dcdc master@{6}: merge jx/zh_CN: Fast-forward a09ab0 master@{7}: merge de-ralfth/master: Fast-forward 674c5

$ git reflog show -v -v master
edca41 master@{0}: merge kernel/master: Fast-forward
    >> Fri, 24 May 2013 11:34:46 -0700 (6 days ago), by Junio C
Hamano: Git 1.8.3
5e49f master@{1}: merge kernel/master: Fast-forward
    >> Tue, 21 May 2013 09:33:24 -0700 (9 days ago), by Felipe
Contreras: remote-hg: fix order of configuration comments
de3a5 master@{2}: merge kernel/master: Fast-forward
    >> Fri, 17 May 2013 12:19:20 -0700 (13 days ago), by Junio C
Hamano: Git 1.8.3-rc3
0c2b1 master@{3}: merge kernel/master: Fast-forward
    >> Wed, 15 May 2013 14:58:56 -0700 (2 weeks ago), by Junio C
Hamano: Merge branch 'fc/remote-hg' (early part)
b387c master@{4}: merge kernel/master: Fast-forward
    >> Thu, 9 May 2013 13:32:54 -0700 (3 weeks ago), by Junio C
Hamano: Sync with v1.8.2.3
9b795 master@{5}: merge kernel/master: Fast-forward
    >> Tue, 7 May 2013 22:50:05 -0700 (3 weeks ago), by Junio C
Hamano: Update draft release notes for 1.8.3
4dcdc master@{6}: merge jx/zh_CN: Fast-forward
    >> Wed, 8 May 2013 08:13:32 +0800 (3 weeks ago), by Jiang Xin:
l10n: zh_CN.po: translate 44 messages (2080t0f0u)
a09ab0 master@{7}: merge de-ralfth/master: Fast-forward
    >> Tue, 7 May 2013 19:28:19 +0200 (3 weeks ago), by Ralf Thielow:
l10n: de.po: translate 44 new messages
674c5 :
    >> Wed, 1 May 2013 19:49:18 +0800 (4 weeks ago), by Jiang Xin:
Merge remote-tracking branch 'vi-vnwildman/master'
-- 
蒋鑫

北京群英汇信息技术有限公司
邮件: worldhello.net@gmail.com
网址: http://www.ossxp.com/
博客: http://www.worldhello.net/
微博: http://weibo.com/gotgit/
电话: 18601196889
Previous: Jiang Xin
Message 2 of 2 in “[RFC] reflog: show committer date in verbose mode”
  1. Jiang XinMay 31, 2013
  2. Jiang XinMay 31, 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.