Re:The Real Difference Between Git and Mercurial
by aredridel on Thursday January 19, 2012 @04:13PM
(#3486746)
Interesting. I've never considered that git doesn't give access -- it's always seemed right there to me, whether I want to tweak it by calling out to a git tool to do it, or doing it myself.
Re:The Real Difference Between Git and Mercurial
by xentac on Thursday January 19, 2012 @04:17PM
(#3486765)
It does, but instead of giving you a library/API access, like Mercurial, it gives you command line access. I feel as though one is a little more black box than the other.
Re:The Real Difference Between Git and Mercurial
by chrisrhoden on Thursday January 19, 2012 @05:03PM
(#3487026)
Please see libgit/libgit2
Git doesn't give you access to its functionality but instead gives access to its data model. Stashes are just references, commits are created or destroyed at will, notes are just objects that point at commits and are stored in a different set of references, etc.