Thread (7 messages) flat view 7 messages, 4 authors, 2016-06-15

Re: [PATCH] Teach the git wrapper about --name-rev and --name-rev-by-tags

From: Linus Torvalds <torvalds@osdl.org>
Date: 2016-06-15 22:42:34

Possibly related (same subject, not in this thread)


On Fri, 28 Jul 2006, Johannes Schindelin wrote:
Now you can say

	git --name-rev log
I think this is wrong.

It may be a straightforward translation of
	git log | git name-rev --stdin | less
but that doesn't make it any more "correct".
From a logical standpoint, it should be an argument to the _logging_, not 
to the main git binary, so it should be

	git log --name-rev

and you should do the parsing (and the output) inside revision.c.

Also, I doubt most people want every release named. I think the common 
case would be that you want those releases named that match heads (and 
tags in particular) _exactly_. If you want everything named, maybe you 
want to do "--name-rev-all" or something.

Hmm?

(That would also likely perform a lot better)

		Linus
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help