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

Re: Recording merges after repo conversion

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Oct 31, 2007, 11:01 UTC
Message-ID
<Pine.LNX.4.64.0710311059020.4362@racer.site>
In-Reply-To
<Pine.LNX.4.62.0710311048450.13264@perkele.intern.softwolves.pp.se>
Hi,
On Wed, 31 Oct 2007, Peter Karlsson wrote:
Show 6 quoted lines
> Johannes Schindelin:
> 
> > Why should it?  This would contradict the whole "a commit sha1 hashes 
> > the commit, and by inference the _whole_ history" principle.
> 
> Does it?

Yes! Of course! If what you want becomes possible, I could make an evil change in history long gone, and slip it by you. You could not even see the history which changed.

> Why can't the grafts file itself be committed to the repository and live 
> in the history?

You can do that already. But you have to ask the people at the other end to actually apply the graft.

> Well, yeah, the SHA1 hashing is one of Git's main strengths, but it also
> opens up some weaknesses.
If you really think that, I doubt you understood the issues at hand.

Ciao, Dscho

Previous: Peter KarlssonNext: Peter Karlsson
Message 9 of 21 in “Recording merges after repo conversion”
  1. Peter KarlssonOct 9, 2007
  2. Benoit SIGOUREOct 9, 2007
  3. Peter KarlssonOct 30, 2007
  4. Lars HjemliOct 30, 2007
  5. Peter KarlssonOct 30, 2007
  6. Lars HjemliOct 30, 2007
  7. Johannes SchindelinOct 31, 2007
  8. Peter KarlssonOct 31, 2007
  9. Johannes SchindelinOct 31, 2007
  10. Peter KarlssonOct 31, 2007
  11. Johannes SchindelinOct 31, 2007
  12. Johan HerlandOct 31, 2007
  13. Johannes SchindelinOct 31, 2007
  14. Johan HerlandOct 31, 2007
  15. Johannes SchindelinOct 31, 2007
  16. Johan HerlandOct 31, 2007
  17. Johannes SchindelinOct 31, 2007
  18. Linus TorvaldsOct 31, 2007
  19. Johan HerlandOct 31, 2007
  20. Johannes SchindelinOct 30, 2007
  21. Peter KarlssonOct 31, 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.