Re: how to move with history?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: J. Bruce Fields
Date: Monday, June 18, 2007 - 1:31 pm

On Mon, Jun 18, 2007 at 09:29:18PM +0100, Oliver Kullmann wrote:

Oh, so even if somebody checks out a previous version of the project,
you don't want them to see that file at the old name any more?

The git history is totally immutable, by design--the SHA1 name of a
commit is taken over the commit, the contents of the entire tree at that
point, and any commit(s) that precede this commit--hence it recursively
summarizes the entire history of the project.

So if you want to erase all memory of a path from the git history, then
you have to rebuild it all.  Which is possible--it'd just mean creating
a new project and writing a script to import every version into the new
project....

--b.
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
how to move with history?, Oliver Kullmann, (Mon Jun 18, 12:16 pm)
Re: how to move with history?, Alex Riesen, (Mon Jun 18, 12:49 pm)
Re: how to move with history?, Oliver Kullmann, (Mon Jun 18, 1:29 pm)
Re: how to move with history?, J. Bruce Fields, (Mon Jun 18, 1:31 pm)
Re: how to move with history?, Frank Lichtenheld, (Mon Jun 18, 1:36 pm)
Re: how to move with history?, Robin Rosenberg, (Mon Jun 18, 1:43 pm)
Re: how to move with history?, Alex Riesen, (Mon Jun 18, 2:07 pm)
Re: how to move with history?, Oliver Kullmann, (Tue Jun 19, 12:28 pm)