6 ms·
I like git because it stores objects, not diffs and you can recover from almost anything with reflog.
by leobelle 13y ago
I like git because it stores objects, not diffs and you can recover from almost anything with reflog.
- anton_gogolev 13y ago> I like git because it stores objects, not diffs Now _that's_ a reason to pick a VCS! Would you drop Git if you found out that this is not true [1]? [1]: http://git-scm.com/book/en/Git-Internals-Packfiles http://git-scm.com/book/en/Git-Internals-Packfiles
- tomlu 13y agoI see where he is coming from even if the wording is ambiguous. Git presents the abstraction of storing objects, and diffs are inferred. The exact implementation is beside the point.
- tonfa 13y agoBut then mercurial is the same, the abstraction is about file content, the diff compression is an internal detail of the storage format like packs.
- tomlu 13y agoYeah for sure. Mercurial is great too. I was thinking of SVN which does store its commits as diffs, which makes it brittle (anyone that has tried to use the svn admin tools to rewrite the repository will know what I mean).