Subject: Re: My git repo is broken, how to fix it ?

From: Alexander Litvinov <[email-masked]>
Date: Fri, 23 Mar 2007 09:40:24 +0600

В сообщении от Thursday 22 March 2007 22:48 Linus Torvalds написал(a):
> In "try_create_file()", we do:
>
> 	...
>         if (convert_to_working_tree(path, &nbuf, &nsize)) {
>                 free((char *) buf);
>                 buf = nbuf;
>                 size = nsize;
>         }
> 	...
>
> I think the easy temporary fix is to just remove that "free()" and leak a
> bit of memory. That gets it through that test with efence for me.
>
> Does that fix it for you, Alexander?

Yes, commenting out free fix repo breakage.

Thanks for help !