Code

Remove hash in git-describe in favor of util slot.
authorShawn O. Pearce <spearce@spearce.org>
Mon, 15 Jan 2007 03:16:55 +0000 (22:16 -0500)
committerJunio C Hamano <junkio@cox.net>
Mon, 15 Jan 2007 05:17:27 +0000 (21:17 -0800)
commite7eb50347bba54ab52f9740a3bbb6e833bdadf6e
treec39551956da39bf4a9b06811d822b97bd24da005
parentcf69fd49ec815780080dc6a4ee237eee5ffe8745
Remove hash in git-describe in favor of util slot.

Currently we don't use the util field of struct commit but we want
fast access to the highest priority name that references any given
commit object during our matching loop.  A really simple approach
is to just store the name directly in the util field.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-describe.c