Advantages that Git# (GitSharp) will bring over current alternatives on Windows?
-
02-10-2020 - |
Question
Solution
I'm not sure that it makes sense to talk about advantages of one over the other, given that they are completely different things: MSysGit is a program to be used by humans, Git# is a library to be used by machines.
That's like asking what the advantages are of a slice of pizza over the International Space Station.
OTHER TIPS
For the end user it doesn't make a difference except that GitSharp isn't complete yet and therefor is not able to provide all the git features.
For the applications programmer it does make a huge difference because you can access a git repository via a clean and simple API and do not need to format command line commands, start msysgit in a seperate process and parse the output.
We want a library to reduce startup overhead of launching a process and avoid parsing result from stdout. That's what GitSharp does in a high level way.
I can see when a lot of git.exe launch at the same time (like CruiseControl.NET automatic build), they significantly slow down my PC.