Git to Go; bindings for libgit2. Like McDonald's but tastier.
Go to file
lye bc80beb843 Add partial diff/patch functionality.
This commit adds barebones capacity to generate diffs from two trees and
to emit those as git-style diffs (via `Patch.String`), or to enumerate
the files/hunks/lines in the diff to emit the data yourself.

The walk functions have been implemented in the same manner as the Odb
walking methods.

Note that not all of the functionality is implemented for either the
`git_diff_*` nor the `git_patch_*` functions, and there are unexposed
constants which would likely be useful to add.
2014-02-20 00:29:03 -06: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 Don't repeat the pkg-config line 2013-11-14 00:23:04 +01:00
checkout.go Lock the OS thread when acessing errors 2013-12-18 16:18:32 +01:00
commit.go Lock the OS thread when acessing errors 2013-12-18 16:18:32 +01:00
config.go Lock the OS thread when acessing errors 2013-12-18 16:18:32 +01:00
diff.go Add partial diff/patch functionality. 2014-02-20 00:29:03 -06:00
git.go Lock the OS thread when acessing errors 2013-12-18 16:18:32 +01:00
git_test.go Add @carlosmn's tests 2013-04-16 23:18:35 +02:00
index.go Lock the OS thread when acessing errors 2013-12-18 16:18:32 +01:00
index_test.go Add @carlosmn's tests 2013-04-16 23:18:35 +02:00
object.go ObjectType: capitalise Tag 2013-11-14 00:24:44 +01:00
object_test.go Camel-case constants 2013-09-12 10:40:57 +02:00
odb.go Lock the OS thread when acessing errors 2013-12-18 16:18:32 +01:00
odb_test.go Remove leftover reference to old const 2013-09-22 00:05:37 +02:00
packbuilder.go Lock the OS thread when acessing errors 2013-12-18 16:18:32 +01:00
patch.go Add partial diff/patch functionality. 2014-02-20 00:29:03 -06:00
reference.go Lock the OS thread when acessing errors 2013-12-18 16:18:32 +01:00
reference_test.go Merge pull request #36 from libgit2/ref-iter 2013-09-17 08:03:50 -07:00
repository.go Add partial diff/patch functionality. 2014-02-20 00:29:03 -06:00
submodule.go Lock the OS thread when acessing errors 2013-12-18 16:18:32 +01:00
tree.go Lock the OS thread when acessing errors 2013-12-18 16:18:32 +01:00
walk.go Lock the OS thread when acessing errors 2013-12-18 16:18:32 +01:00
wrapper.c Add partial diff/patch functionality. 2014-02-20 00:29:03 -06: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)