threads / discuss / 14199

Re: An alternate model for preparing partial commits

Subject: Re: An alternate model for preparing partial commits

## tl;dr

One message between Jun 28, 2008 and Jun 28, 2008.

replies: 0people: 1as markdown or json

Stephen R. van den Berg· Jun 28, 2008, 09:30 UTC · lore
David Jeske wrote:
>- I could supercede 2-commits with 1, effectively making the bad-commit
>disappear in the linear history. Users who already have the history, however,
>would be unaffected, because the start/end endpoints are the same.

Superseding does not work in git trees and is a disruptive operation to *all* commits following the point being superseded. Also, superseding preserves the startpoint, but *always* alters the endpoint.

I suggest you take a look at how a git-repository is stored and learn about how the SHA1-hashes interact with the stored repository.

-- 
Sincerely,
           Stephen R. van den Berg.

Heisenberg might have been here.

← back to recent threads