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

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

 



В сообщении от 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 !
-
To unsubscribe from this list: 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]