scm-backup icon indicating copy to clipboard operation
scm-backup copied to clipboard

Fetch Git repos with libgit2 instead of Git command line

Open christianspecht opened this issue 4 years ago • 1 comments

Make a second implementation of the GitScm class, using LibGit2Sharp (instead of command line Git) under the hood.

The current command line implementation should be the default, the new implementation should be enabled via config setting.

If libgit2sharp can do everything we need, maybe it's a solution for #57 and #58.

christianspecht avatar Nov 12 '20 22:11 christianspecht

  • https://github.com/libgit2/libgit2sharp/wiki/git-init
  • https://github.com/libgit2/libgit2sharp/wiki/git-fetch

christianspecht avatar Nov 12 '20 22:11 christianspecht