Git to Go; bindings for libgit2. Like McDonald's but tastier.
Go to file
Carlos Martín Nieto 9b4c865f18 test: adjust to safe commit append
When we create a commit and tell the library to update a ref, we need to
make sure to pass the current tip.

This is what we should have been doing in a function called
'upateReadme()' anyway. The existing code creates a new root commit,
which is not an update.
2014-05-03 19:13:32 +02:00
script Add a settings package 2014-03-25 09:27:05 +01:00
settings Add a settings package 2014-03-25 09:27:05 +01:00
.travis.yml Add a settings package 2014-03-25 09:27:05 +01:00
LICENSE Initial commit 2013-03-05 20:53:04 +01:00
README.md Update README 2013-03-06 17:06:01 +01:00
blob.go Adjust to Go tip changes 2014-04-01 12:36:44 +02:00
branch.go merge with improved error handling logic 2014-04-04 00:56:58 -07:00
branch_test.go merge with improved error handling logic 2014-04-04 00:56:58 -07:00
checkout.go checkout: init_opts -> init_options 2014-05-03 18:56:44 +02:00
clone.go fix clone options init 2014-03-18 18:23:33 -07:00
clone_test.go Clean up after the tests 2014-03-19 08:15:19 +01:00
commit.go Adjust to Go tip changes 2014-04-01 12:36:44 +02:00
config.go Convert the rest of the errors 2014-02-26 16:14:31 +01:00
credentials.go cleanup clone code 2014-03-11 13:19:12 -07:00
diff.go use cast_ptr instead of ptr for travis go tip build 2014-04-04 09:42:17 -07:00
diff_test.go don't expose 3 different diff foreach methods. use structures instead of pointers to structures for diff detail. add patch error code handling. trim excess data from diff structures. 2014-03-21 22:51:38 -07:00
git.go Merge commit 'refs/pull/72/head' of github.com:libgit2/git2go 2014-04-26 20:51:21 +02:00
git_test.go test: adjust to safe commit append 2014-05-03 19:13:32 +02:00
index.go make it possible to handle errors 2014-04-02 10:31:48 -07:00
index_test.go Add index WriteTreeTo + test 2014-03-20 20:49:05 -07:00
merge.go use cast_ptr instead of ptr for travis go tip build 2014-04-04 00:47:21 -07:00
merge_test.go Merge analysis and merge file 2014-03-26 14:42:01 -07:00
object.go Adjust to Go tip changes 2014-04-01 12:36:44 +02:00
object_test.go Camel-case constants 2013-09-12 10:40:57 +02:00
odb.go update for upstream changes 2014-04-03 16:49:22 -04:00
odb_test.go Oid: make NewOid take a string 2014-03-19 03:56:50 +01:00
packbuilder.go Added git error code to the error object. 2014-02-26 16:10:00 +01:00
patch.go don't expose 3 different diff foreach methods. use structures instead of pointers to structures for diff detail. add patch error code handling. trim excess data from diff structures. 2014-03-21 22:51:38 -07:00
patch_test.go don't expose 3 different diff foreach methods. use structures instead of pointers to structures for diff detail. add patch error code handling. trim excess data from diff structures. 2014-03-21 22:51:38 -07:00
push.go fix return for old go versions / travis 2014-03-11 13:45:27 -07:00
push_test.go make it possible to handle errors 2014-04-02 10:31:48 -07:00
refdb.go fix for travisci 2014-04-03 17:12:31 -04:00
reference.go Merge branch 'oid-parse-protection' into branch-iterator 2014-04-04 00:50:41 -07:00
reference_test.go Merge branch 'oid-parse-protection' into branch-iterator 2014-04-04 00:50:41 -07:00
remote.go Merge pull request #81 from jezell/remote-set-callbacks 2014-04-26 20:22:44 +02:00
remote_test.go Remote: The whole point of the anonymous change 2014-04-01 20:10:20 +02:00
repository.go Merge commit 'refs/pull/72/head' of github.com:libgit2/git2go 2014-04-26 20:51:21 +02:00
submodule.go Added force argument for (*Submodule).Reload() and (*Repository).ReloadAllSubmodules() 2014-03-27 11:32:22 +01:00
tree.go Adjust to Go tip changes 2014-04-01 12:36:44 +02:00
walk.go make it possible to handle errors 2014-04-02 10:31:48 -07:00
wrapper.c Merge commit 'refs/pull/72/head' of github.com:libgit2/git2go 2014-04-26 20:51:21 +02:00

README.md

git2go

Go bindings for libgit2. These bindings are for top-of-the-branch libgit2, and they move fast, things may or may not work. Operator get me Beijing-jing-jing-jing!

Installing

Just go get github.com/libgit2/git2go. You'll need to have top-of-the-branch libgit2 from development installed in your system and available via pkg-config. These bindings are in sync with the top of development.

License

M to the I to the T. See the LICENSE file if you've never seen a MIT license before.

Authors

  • Carlos Martín (@carlosmn)
  • Vicent Martí (@vmg)