Re: My git repo is broken, how to fix it ?
В сообщении от Thursday 22 March 2007 22:48 Linus Torvalds написал(a):
Show 14 quoted lines
> 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 !