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

Re: Repository authenticity question

From
Michael J Gruber <git@drmicha.warpmail.net>
Date
Jun 13, 2009, 15:45 UTC
Message-ID
<4A33C980.40003@drmicha.warpmail.net>
In-Reply-To
<200906131527.03450.Karlis.Repsons@gmail.com>
Kārlis Repsons venit, vidit, dixit 13.06.2009 17:26:
Show 9 quoted lines
> Hi,
> It would be good to know what did Linus meant, when he said "and they will 
> fail" about people, who would try changing some git projects' history (that 
> is, the content, that is added already)? If I loose my repository completely, 
> can I still know, that those contributions there are the same after I pull 
> and how? What contents can be deleted, while still retaining consistency?
> 
> Regards,
> Kārlis

The sha1 ("object name") of a commit depends not only on its contents, but on all its predecessors. So if you know one commit's sha1 to be "original" you know for all its ancestors.

Michael
Previous: Kārlis RepsonsNext: Kārlis Repsons
Message 2 of 4 in “Repository authenticity question”
  1. Kārlis RepsonsJun 13, 2009
  2. Michael J GruberJun 13, 2009
  3. Kārlis RepsonsJun 17, 2009
  4. Michael J GruberJun 17, 2009

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.