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

Re: [PATCH] Add --pretty=fuller

From
Andreas Ericsson <ae@op5.se>
Date
Nov 10, 2005, 09:11 UTC
Message-ID
<43730EBD.90307@op5.se>
In-Reply-To
<7vzmod58ot.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano wrote:
Show 11 quoted lines
> git log without --pretty showed author and author-date, while
> with --pretty=full showed author and committer but no dates.
> The new formatting option, --pretty=fuller, shows both name and
> timestamp for author and committer.
> 
> Signed-off-by: Junio C Hamano <junkio@cox.net>
> 
> ---
> 
>  * again, likes, dislikes, don't-cares?
> 
Why not use:
--show=cdm,atn
for
Committer: date, mail
Author: timestamp,name
or

--show-author=date,timestamp,name --show-committer=name,time --show=name,date (for both author and committer)

or some such, with --pretty=<something> just a short-hand for those show-options?

We'll run out of superlatives really quickly if there are more author and committer info added sometime in the future, while the --show flag(s) can be extended more or less indefinitely.

-- 
Andreas Ericsson                   andreas.ericsson@op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231
Previous: Johannes Schindelin
Message 3 of 3 in “Add --pretty=fuller”
  1. Add --pretty=fullerJunio C Hamano, Nov 10, 2005
  2. Johannes SchindelinNov 10, 2005
  3. Andreas EricssonNov 10, 2005

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.