JP Vossen on 22 Dec 2018 12:58:59 -0800


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Git: net time gain or loss?


On 12/22/18 10:59 AM, Rich Freeman wrote:
Actually, it is the opposite.  With git EVERY commit makes a complete
copy of the code base, whether branching or otherwise.  Ironically
cvs/subversion actually did store deltas with regular commits (not
sure offhand about branches).

CVS did that, SVN does not. SVN is like Git; each commit in SVN is a complete copy of the *entire* repo at an atomic point in time. But every file is just a pointer to the last one, except for what you changed.

See more details in my previous reply.


However, git also makes use of content-hashing deduplication at both
the directory and file level, and packing does further compression on
top of this.  So, these copies don't cost much.

Yeah, SVN doesn't do the hashing de-dup because it's dealing with files & paths, not blobs. That's a really big Git win in my server config example from yesterday:
	2.7G of config files
		From around 200 (very similar) servers
		Checked into Git daily
	209M used by the .git dir!

Later,
JP
--  -------------------------------------------------------------------
JP Vossen, CISSP | http://www.jpsdomain.org/ | http://bashcookbook.com/
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug