Thread (2 messages) flat view 2 messages, 2 authors, 2016-08-11

Re: [PATCH] git-show: grok blobs, trees and tags, too

From: Johannes Schindelin <hidden>
Date: 2016-08-11 19:57:41

Hi,

On Thu, 14 Dec 2006, Junio C Hamano wrote:
Johannes Schindelin [off-list ref] writes:
quoted
+			ret = show_object(o->sha1, 1);
+			objects[i].item = (struct object *)t->tagged;
+			i--;
+			break;
Good hack ;-).
Tail recursion ;-)

It has a nice side effect, too: the _name_ of the object is not changed, 
so if you show a tag which references a tree, you will see the name of the 
tag as if it were the name of the tree.

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