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

Re: To graft or not to graft... (Re: Recovering from repository corruption)

From
Stephen R. van den Berg <srb@cuci.nl>
Date
Jun 12, 2008, 12:20 UTC
Message-ID
<20080612122016.GA25926@cuci.nl>
In-Reply-To
<200806121221.02287.johan@herland.net>
Johan Herland wrote:
>I can only draw the conclusion that with current versions of Git, repos 
>with grafts should _never_ be made public.
Correct.

I still prefer my original suggestion, i.e. allow repos with grafts to be cloned, yet disregard the grafts during the cloning process. The trouble is that with your suggestion, it becomes a bit convoluted when grafts are being used and when not. It already is complicated as it is, so I suggest we try and keep git honest so that it does exactly what one would expect (instead of documenting awkward behaviour).

As soon as time permits, I'll submit appropriate patches to implement this, as well as some other sanity check patches which I've been contemplating to help the grafter detect "bad" grafts as early as possible.

-- 
Sincerely,
           Stephen R. van den Berg.

"Always look on the bright side of life!"
Previous: Johan HerlandNext: Nicolas Pitre
Message 29 of 31 in “Recovering from repository corruption”
  1. Denis BuenoJun 10, 2008
  2. Jakub NarebskiJun 10, 2008
  3. Denis BuenoJun 10, 2008
  4. Jakub NarebskiJun 10, 2008
  5. Denis BuenoJun 10, 2008
  6. Jakub NarebskiJun 10, 2008
  7. Denis BuenoJun 10, 2008
  8. Linus TorvaldsJun 10, 2008
  9. Denis BuenoJun 10, 2008
  10. Linus TorvaldsJun 10, 2008
  11. Denis BuenoJun 10, 2008
  12. Linus TorvaldsJun 10, 2008
  13. Denis BuenoJun 10, 2008
  14. TarmiganJun 10, 2008
  15. Denis BuenoJun 10, 2008
  16. Linus TorvaldsJun 10, 2008
  17. Linus TorvaldsJun 10, 2008
  18. Nicolas PitreJun 11, 2008
  19. Linus TorvaldsJun 11, 2008
  20. Nicolas PitreJun 11, 2008
  21. Denis BuenoJun 10, 2008
  22. Junio C HamanoJun 10, 2008
  23. To graft or not to graft... (Re: Recovering from repository corruption)Stephen R. van den Berg, Jun 11, 2008
  24. Jakub NarebskiJun 11, 2008
  25. Linus TorvaldsJun 11, 2008
  26. Johan HerlandJun 12, 2008
  27. Jeff KingJun 12, 2008
  28. Johan HerlandJun 12, 2008
  29. Stephen R. van den BergJun 12, 2008
  30. Nicolas PitreJun 10, 2008
  31. Denis BuenoJun 10, 2008

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.