Skip to content

Romain-Geissler/git2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A VERY minimal git client that relies on libgit2.
======================

The original source comes from https://github.com/vfr-nl/git2/
(thanks to Vincent van Ravesteijn and Motiejus Jakštys)

For every commands (including tricky options and switchs) that
we do not support (yet), the call is forwarded to the usual "git"
(found in PATH) and thus git2 is completely transparent for
users and works exactly as git do.


Building git2
======================

CMake is required to compile.

After git-cloned you need to initialise the submodules :
    $ git submodule init
    $ git submodule update
This can take a lot of time (it clones libgit2 and git repository).

Then you can compile with :
    $ make


Testing
======================

If you want to test our git client with the tests of git, run :
    $ make test
This can take a lot of time (it compiles git and then launch thousands of tests).
As we are using the git test framework, nearly all what can be done with git test
can be done with our test base (ie set GIT_SKIP_TESTS or GIT_TEST_OPTS).

You can run a particular test by giving its name :
   $ make t0000-basic.sh

About

A fully usable git client partially based on libgit2.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •