Re: [git-users] SHA-1 checksum

2016-08-08 Thread Sharan Basappa
> 2) At its very bottom, Git implements the so-called > "content-addressable filesystem". Its chief principle is that every > unique piece of data is stored exactly once, and these pieces are > identified by their contents. Since use the contents "as is" is > unwieldy, its being addressed

Re: [git-users] SHA-1 checksum

2016-08-08 Thread Konstantin Khomoutov
On Mon, 8 Aug 2016 09:00:06 -0700 (PDT) Sharan Basappa wrote: [...] > > The contents of file "-NOTES" is in > > .git/objects/02/15040f90f133f999bac86eede7565c6d09b93d. In this > > case, that object is in one of the "pack" files. git-cat-file has > > to read through

Re: [git-users] SHA-1 checksum

2016-08-08 Thread Konstantin Khomoutov
On Sun, 7 Aug 2016 09:26:30 -0700 (PDT) Sharan Basappa wrote: > I would like to know why GIT calculates checksum of a file. > Typically, checksum is used for the purpose of integrity. Well, Git does this for two reasons: 1) It's what makes "D" in the "DVCS"

Re: [git-users] SHA-1 checksum

2016-08-08 Thread Sharan Basappa
> Consider one of my Git repositories. The file .git/HEAD contains > > ref: refs/heads/hobgoblin > > That points to the file .git/refs/heads/hobgoblin, which contains the > hash of the commit which is the tip of the "hobgoblin" branch: > > 92f8f718eb9b19f921f20283e55c56e8dc66ed10 >

Re: [git-users] SHA-1 checksum

2016-08-08 Thread Sharan Basappa
> > Well, there are exactly three types of objects in Git repos: blobs, > trees and commits. Files are stored as blobs. Blobs have no "file > names" attached to them; in fact, they keep no associated metadata at > all. Since humans routinely manipulate data kept in files using >

[git-users] Stacked git?

2016-08-08 Thread Michael
Can someone explain stacked git? It was referenced in "Git from the bottom up", but I've never used Quilt, and neither project really explains what it is for/doing. --- Entertaining minecraft videos http://YouTube.com/keybounce -- You received this message because you are subscribed to the

[git-users] Git Gud

2016-08-08 Thread Jonah Dahlquist
So, we're going to make gud an alias for help at some point, right? -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: [git-users] SHA-1 checksum

2016-08-08 Thread Sharan Basappa
> > > > You have it in one. > > Yes that is the reason that git computes the sha1 of the file's contents - > it provides integrity, veracity and non-repudiation (the last one is still > true though cryo-analysis is getting better, so sha1 is no longer > recommended, and Git is looking at