git and libgit2 are separate. What's the history behind them?
They are both C. Why are they implemented on their own instead of sharing any code? Are people planing to consolidate them?
Thank you!
git and libgit2 are separate. What's the history behind them?
They are both C. Why are they implemented on their own instead of sharing any code? Are people planing to consolidate them?
Thank you!
Firstly, git is not a library, so it's not suited for integrating into other code as easily.
Secondly, an important difference is the license. Git is distributed as GPL, which means that code that use or link with parts of the git code must also be distributed as GPL. Libgit2 is distributed with a license that permits linking with libgit2 without inflicting on the license of the rest of the application code.