RE: Proposal/Discussion: Turning parts of Git into libraries
From: <hidden>
Date: 2023-03-23 23:44:48
On Thursday, March 23, 2023 7:37 PM, Felipe Contreras wrote:
On Fri, Feb 17, 2023 at 3:45 PM Emily Shaffer [off-list ref] wrote:quoted
As I mentioned in standup this week[1], my colleagues and I at Google have become very interested in converting parts of Git into libraries usable by external programs. In other words, for some modules which already have clear boundaries inside of Git - like config.[ch], strbuf.[ch], etc. - we want to remove some implicit dependencies, like references to globals, and make explicit other dependencies, like references to other modules within Git. Eventually, we'd like both for an external program to use Git libraries within its own process, and for Git to be given an alternative implementation of a library it uses internally (like a plugin at runtime).This is obviously the way it should have been done from the beginning, but unfortunately at this point the Git project has too much inertia and too many vested interests from multi-billion dollar corporations to change. I wonder if a single person who isn't paid to work on Git commented on this thread.
Raises hand.