git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Linus Torvalds <torvalds@linux-foundation.org>
Date
Mar 22, 2007, 17:10 UTC
Message-ID
<Pine.LNX.4.64.0703221006360.6730@woody.linux-foundation.org>
In-Reply-To
<alpine.LFD.0.83.0703221257020.18328@xanadu.home>
On Thu, 22 Mar 2007, Nicolas Pitre wrote:
Show 9 quoted lines
> On Thu, 22 Mar 2007, Linus Torvalds wrote:
> 
> > I can't really say whether there are other problems too - electric fence 
> > has a few bugs in that it considers zero-length allocations to be 
> > "probably a bug" and aborts. This makes some of the tests fail with 
> > efence, when re_compile_internal wants to allocate a zero-length object.
> 
> You can tell it not to abort on zero-length allocations by setting the 
> EF_ALLOW_MALLOC_0 environment variable to 1.

Ahh,that gets me further, but then it bombs out on the added error messages. Is there something for that braindamage too?

(if it at least tested it with "isatty()" or something I'd understand it, as it is, it has made my life miserable in the past too.. I like efence, but bruce seems to think his ego is more important than the program you're debugging.)

		Linus
Previous: Nicolas PitreNext: Nicolas Pitre
Message 18 of 28 in “My git repo is broken, how to fix it ?”
  1. Alexander LitvinovFeb 28, 2007
  2. Linus TorvaldsFeb 28, 2007
  3. Alexander LitvinovFeb 28, 2007
  4. Linus TorvaldsFeb 28, 2007
  5. Alex RiesenFeb 28, 2007
  6. Alexander LitvinovMar 19, 2007
  7. Linus TorvaldsMar 19, 2007
  8. Linus TorvaldsMar 20, 2007
  9. Alexander LitvinovMar 20, 2007
  10. Junio C HamanoMar 20, 2007
  11. Nicolas PitreMar 20, 2007
  12. Linus TorvaldsMar 22, 2007
  13. Nicolas PitreMar 22, 2007
  14. Linus TorvaldsMar 22, 2007
  15. Linus TorvaldsMar 22, 2007
  16. Linus TorvaldsMar 22, 2007
  17. Nicolas PitreMar 22, 2007
  18. Linus TorvaldsMar 22, 2007
  19. Nicolas PitreMar 22, 2007
  20. Jeff KingMar 22, 2007
  21. Linus TorvaldsMar 23, 2007
  22. Bill LearMar 23, 2007
  23. Jeff KingMar 23, 2007
  24. git-apply: Do not free the wrong buffer when we convert the data for writeoutJunio C Hamano, Mar 22, 2007
  25. Linus TorvaldsMar 22, 2007
  26. Alexander LitvinovMar 23, 2007
  27. Alexander LitvinovMar 23, 2007
  28. Johannes SixtMar 22, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.