Re: Experimental "git prune"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Tue, 4 Jul 2006, Linus Torvalds wrote:

> static void process_tag(struct tag *tag, struct object_array *p, const char *name)
> {
> 	struct object *obj = &tag->object;
> 	struct name_path me;

AFAICS this variable is set, but not used:

> 
> 	if (obj->flags & SEEN)
> 		return;
> 	obj->flags |= SEEN;
> 
> 	me.up = NULL;
> 	me.elem = "tag:/";
> 	me.elem_len = 5;
> 
> 	if (parse_tag(tag) < 0)
> 		die("bad tag object %s", sha1_to_hex(obj->sha1));
> 	add_object(tag->tagged, p, NULL, name);
> }

As for the rest, I like it.

Ciao,
Dscho

-
: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]