[GRLUG] git 'snapshots'

Jonathon Klobucar pilotplantpirate at gmail.com
Fri May 18 19:52:12 EDT 2012


pretty much yes. they are not file diffs in the same way that other version control systems (primarily SVN) use. git made it's own data model, they just communicate that semi-poorly.

-- Jon


On Friday, May 18, 2012 at 4:50 PM, Eric Beversluis wrote:

> On Fri, 2012-05-18 at 16:06 -0700, Jonathon Klobucar wrote:
> > Further free reading here.
> > http://git-scm.com/book/en/Git-Internals-Git-Objects
> > 
> 
> 
> This is what I've been reading, primarily. But haven't gotten to this
> chapter yet. 
> 
> So when 1.3.1 says "Snapshots, not differences", it's not really telling
> the truth. Presumably what is meant is that diffs are used differently
> than in other versioning systems.
> > 
> > 
> > 
> > -- Jon
> > 
> > 
> > On Friday, May 18, 2012 at 4:05 PM, Jonathon Klobucar wrote:
> > 
> > > Git snapshots the whole workspace in the repo and the next snapshot
> > > is the 'diff' which is more an object that is the changes since the
> > > last snapshot. snapshot is in essence a poor mans way of saying a
> > > commit. :)
> > > 
> > > 
> > > Also, git is insanely fast comparatively to other systems and
> > > compacts the snapshots.
> > > 
> > > 
> > > -- Jon
> > > 
> > > 
> > > On Friday, May 18, 2012 at 3:53 PM, Eric Beversluis wrote:
> > > 
> > > > I'm doing some reading about git and I'm confused by their
> > > > 'snapshots.'
> > > > Several things that I've read all seem to say that git doesn't use
> > > > diffs
> > > > but rather uses snapshots. If they don't use diffs, it seems to me
> > > > that
> > > > the snapshot must be the entire document, each time you commit.
> > > > Yet it
> > > > also seems to claim small size and high speed, with all the
> > > > branches and
> > > > versions on your local computer. I don't see how this can be.
> > > > 
> > > > 
> > > > EB
> > > > 
> > > > 
> > > > _______________________________________________
> > > > grlug mailing list
> > > > grlug at grlug.org (mailto:grlug at grlug.org)
> > > > http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug
> > > > 
> > > 
> > > 
> > 
> > 
> > 
> > _______________________________________________
> > grlug mailing list
> > grlug at grlug.org (mailto:grlug at grlug.org)
> > http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug
> > 
> 
> 
> 
> _______________________________________________
> grlug mailing list
> grlug at grlug.org (mailto:grlug at grlug.org)
> http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug
> 
> 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shinobu.grlug.org/pipermail/grlug/attachments/20120518/cdd9b9e0/attachment.html>


More information about the grlug mailing list