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

Re: [PATCH 3/4] --decorate now decorates ancestors, too

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Jul 21, 2007, 22:26 UTC
Message-ID
<Pine.LNX.4.64.0707212322260.14781@racer.site>
In-Reply-To
<7vmyy1tq96.fsf@assigned-by-dhcp.cox.net>
Hi,
On Thu, 12 Jul 2007, Junio C Hamano wrote:
Show 5 quoted lines
> But in general I do not see ("I haven't realized" might turn out to be a 
> better expression) much value in this series yet except for the initial 
> clean-up patches, while I think this option would be quite expensive in 
> terms of memory footprints on projects with nontrivial size of history.  
> I dunno.

It would not, since you do not have to say "--decorate" at all. However, if you do want the functionality this patch provides, you have to jump through hoops right now. ATM an alias is my work around, since I run 'master' as you requested:

git config --global alias.decoratelog '!sh -c
	"(case \"\$0\" in
		sh) git log --color;;
		*) git log --color \"\$0\" \"\$@\";;
	 esac) |
	 git -p name-rev --tags --stdin"'
Ugly, ain't it?

And I still have to look up at which release certain features were introduced every day.

Ciao, Dscho

Previous: Johannes SchindelinNext: Johannes Schindelin
Message 10 of 11 in “Make --decorate more useful”
  1. 0/4 Make --decorate more usefulJohannes Schindelin, Jul 11, 2007
  2. 1/4 Move add_name_decoration() and add_ref_decoration() to commit.[ch]Johannes Schindelin, Jul 11, 2007
  3. 2/4 Move the --decorate option from builtin-log.c to revision.c.Johannes Schindelin, Jul 11, 2007
  4. Junio C HamanoJul 12, 2007
  5. Johannes SchindelinJul 13, 2007
  6. 3/4 --decorate now decorates ancestors, tooJohannes Schindelin, Jul 11, 2007
  7. Theodore TsoJul 11, 2007
  8. Junio C HamanoJul 12, 2007
  9. Johannes SchindelinJul 14, 2007
  10. Johannes SchindelinJul 21, 2007
  11. 4/4 --decorate: prefer shorter namesJohannes Schindelin, Jul 11, 2007

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.