From: Alexander Litvinov Date: Fri, 23 Mar 2007 03:40:24 GMT Subject: Re: My git repo is broken, how to fix it ? Message-ID: <200703230940.25103.litvinov2004@gmail.com> In-Reply-To: В сообщении от 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 !