commit | 7e3c361ac4c97f48d80d7ca63358e92ea464a087 | [log] [tgz] |
---|---|---|
author | Carlos Martín Nieto <cmn@dwim.me> | Tue May 06 14:43:38 2014 +0200 |
committer | Carlos Martín Nieto <cmn@dwim.me> | Tue May 06 14:43:38 2014 +0200 |
tree | 579c09cbba1f47254e7bfa685222e3e39ce62bbb | |
parent | 2594f3f889f93196bc9707ca6962f4f773806f10 [diff] |
Packbuilder: use a callback for ForEach instead of a channel Channels provide no means to report an error. Closing a channel could mean anything. This is particularly important when dealing with IO, which we do quite often in the pack builder. Use ForEach which returns an error instead.
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!
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
.
M to the I to the T. See the LICENSE file if you've never seen a MIT license before.