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

Re: What happens if someone modifies repository without me knowing?

From
ILIlari Liusvaara <ilari.liusvaara@elisanet.fi>
Date
Sep 26, 2010, 20:23 UTC
Message-ID
<20100926202322.GA2995@LK-Perkele-V2.elisa-laajakaista.fi>
In-Reply-To
<i7o5rc$t3$1@dough.gmane.org>
On Sun, Sep 26, 2010 at 09:07:29PM +0200, Manuel Reimer wrote:
> Hello,
> 
> let's assume someone got access to the GIT server of my hoster and
> tries to hide a change within an old commit, done by me.
Commits can not be modified once created. So the attacker would have to
recreate that commit with nasty modifications and then recreate every commit
since. 
 
> How will GIT tell me about this hidden change? Will a "git pull"
> just bring this change into my working copy, whithout telling me
> about the change?

At least after git pull, the history will look very odd if displayed graphically...

-Ilari
Previous: Sverre Rabbelier
Message 3 of 3 in “What happens if someone modifies repository without me knowing?”
  1. Manuel ReimerSep 26, 2010
  2. Sverre RabbelierSep 26, 2010
  3. Ilari LiusvaaraSep 26, 2010

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.