Re: [PATCH] update-cache --refresh cache entry leak

2005-04-16 Thread Junio C Hamano
> "LT" == Linus Torvalds <[EMAIL PROTECTED]> writes: LT> I've seen this patch now three times, and it's been wrong every single LT> time. Maybe we should add a comment? I found out the previous two just after I sent it out. Sorry about that. - To unsubscribe from this list: send the line

Re: [PATCH] update-cache --refresh cache entry leak

2005-04-16 Thread Linus Torvalds
On Sat, 16 Apr 2005, Junio C Hamano wrote: > > When update-cache --refresh replaces an existing cache entry > with a new one, it forgets to free the original. I've seen this patch now three times, and it's been wrong every single time. Maybe we should add a comment? That active-cache entry you