Skip to content

jairbubbles/libgit2sharp

This branch is 169 commits behind libgit2/libgit2sharp:master.

Folders and files

NameName
Last commit message
Last commit date
Apr 18, 2018
Jul 3, 2021
Aug 13, 2021
May 30, 2020
Aug 25, 2018
Jul 3, 2021
Feb 8, 2020
Aug 25, 2018
May 30, 2015
Oct 23, 2018
Apr 28, 2014
Jan 31, 2020
Feb 14, 2019
Jan 30, 2020
Jul 3, 2021
Jan 31, 2020
Jan 19, 2015
Apr 21, 2019
May 15, 2015
Jan 4, 2015
Feb 20, 2019
Dec 13, 2013
Jan 31, 2020
Feb 8, 2020
Aug 13, 2021
Jan 31, 2020
Feb 8, 2020
Mar 12, 2017
Nov 19, 2017
May 27, 2012
Feb 15, 2019

Repository files navigation

LibGit2Sharp

master azurepipelines master win master nix coverity

LibGit2Sharp brings all the might and speed of libgit2, a native Git implementation, to the managed world of .NET and Mono.

Prerequisites

  • Windows: .NET 4.6.1+
  • Linux/Mac OS X: Mono 5.4+

Online resources

Troubleshooting and support

  • Usage or programming related question? Post it on StackOverflow using the tag libgit2sharp
  • Found a bug or missing a feature? Feed the issue tracker
  • Announcements and related miscellanea through Twitter (@libgit2sharp)

Quick contributing guide

  • Fork and clone locally
  • Create a topic specific branch. Add some nice feature. Do not forget the tests ;-)
  • Send a Pull Request to spread the fun!

More thorough information available in the wiki.

Optimizing unit testing

LibGit2Sharp strives to have comprehensive and robust unit test suite to ensure the quality of the software and to assist new contributors and users who can use the tests as sample to jump start development. There are over one thousand unit-tests for LibGit2Sharp, this number will only grow as functionality is added.

You can do a few things to optimize running unit-tests on Windows:

  1. Set the LibGit2TestPath environment variable to a path in your development environment.
  • If the unit-test framework cannot find the specified folder at runtime, it will fall back to the default location.
  1. Configure your anti-virus software to ignore the LibGit2TestPath path.
  2. Install a RAM disk like IMDisk and set LibGit2TestPath to use it.
  • Use imdisk.exe -a -s 512M -m X: -p "/fs:fat /q /v:ramdisk /y" to create a RAM disk. This command requires elevated privileges and can be placed into a scheduled task or run manually before you begin unit-testing.

Authors

License

The MIT license (Refer to the LICENSE.md file)

About

Git + .NET/Mono = ❤

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 99.3%
  • Other 0.7%