[Gllug] Mercurial or Subversion for single user?
Nix
nix at esperi.org.uk
Wed Mar 24 00:53:09 UTC 2010
On 23 Mar 2010, James Courtier-Dutton uttered the following:
> git does have a very nice simple integrity assurance method. The
> filename of the patch is the sha1 hash of the patch itself.
Git does not use patches (that's darcs, and the idea is, alas, broken:
nobody has ever figured out a way to make a patch algebra work with
merges).
Git uses snapshots of the entire tree, chained together into a
directed graph of commits over time.
> So, it is very easy to ensure that no bit flips have happened anywhere
> in the code base or that some email program has modified the line
> feeds of the patch.
More than that, because a commit includes the sha1sums of its
parents and its tree, and a tree includes the sha1sums of all its
component parts, each commit is a proof that the commit itself
has not been modified and that *neither has its entire history*.
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list