summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-02-28Add a travis scriptCarlos Martín Nieto
Add a build script and ask Travis to run it. It downloads the tip of libgit2's dev branch and tests against that.
2014-02-28Fix an old error function call that snuck inCarlos Martín Nieto
2014-02-27Merge pull request #59 from libgit2/cmn/refsCarlos Martín Nieto
Add a few reference utility functions
2014-02-27Merge pull request #60 from libgit2/cmn/reflogs-defaultCarlos Martín Nieto
Allow for a default in reflog messages
2014-02-26Merge branch 'more-errors'Carlos Martín Nieto
2014-02-26Convert the rest of the errorsCarlos Martín Nieto
2014-02-26Added git error code to the error object.Jesper Hansen
2014-02-26Remove 'oid' as id nameCarlos Martín Nieto
Following the cleanup from libgit2, let's not use 'oid' unless we mean the name of the data type. In the other cases, we mean an identifier, hence the name 'id'.
2014-02-26Merge branch 'index-entries'Carlos Martín Nieto
2014-02-26Adjust to oid -> idCarlos Martín Nieto
2014-02-26Remove pointer to git_index_entryCarlos Martín Nieto
We have all the data
2014-02-26Allow for a default in reflog messagesCarlos Martín Nieto
We don't have a way to represent a NULL string, so if the user passes an empty string, let's pass NULL down so we tell libgit2 to use the default.
2014-02-26Add a few reference utility functionsCarlos Martín Nieto
2014-02-26Merge pull request #42 from libgit2/cmn/configCarlos Martín Nieto
Wrap some more config functions
2014-02-26Lock the thread so we can get the error messageCarlos Martín Nieto
2014-02-26Add iterators and ConfigEntryCarlos Martín Nieto
2014-02-26Add a few more missing config functionsCarlos Martín Nieto
2014-02-26Add a few missing config setters and gettersCarlos Martín Nieto
2014-02-23Return SubmoduleRecurseCarlos Martín Nieto
2014-02-23Merge pull request #52 from ursachec/masterCarlos Martín Nieto
Support for git_odb_hash.
2014-02-23Merge pull request #51 from Tobscher/masterCarlos Martín Nieto
added write method to index
2014-02-23Merge pull request #55 from lye/add-is-x-reference-methodsCarlos Martín Nieto
Add Is$Type methods to Reference.
2014-02-23Merge commit 'refs/pull/53/head' of github.com:libgit2/git2goCarlos Martín Nieto
On top: fix git_buf handling and rename signature This fixes #57, #54. Conflicts: git.go reference.go repository.go submodule.go
2014-02-20Add Is$Type methods to Reference.lye
This patch adds the following methods to Reference: IsBranch() bool IsRemote() bool IsTag() bool which correspond to the `git_reference_is_$type` functions in libgit2.
2014-01-29update git2go to support latest libgit2 development commit (id: 66af84)Aidan Nulman
2014-01-26Remove unnecessary cast.Claudiu-Vlad Ursache
2014-01-25Test for Odb hash function.Claudiu-Vlad Ursache
2014-01-25Add Odb hash function.Claudiu-Vlad Ursache
2014-01-24added write methodTobias Haar
2013-12-18Merge pull request #41 from libgit2/cmn/threadingCarlos Martín Nieto
Lock the OS thread when acessing errors
2013-12-18Lock the OS thread when acessing errorsCarlos Martín Nieto
The library stores error information in thread-local storage, which means we need to make sure that the Go runtime doesn't switch OS threads between the time we call a function and th time we attempt to retrieve the error information.
2013-11-18Merge pull request #47 from kron4eg/tree_builder_mem_leakVicent Martí
Fix memleak, TreeBuilder, Config and Parent commit
2013-11-14Fix memleak for Config and parent commit objectsArtiom Di
2013-11-14Fix memleak, free TreeBuilderArtiom Di
2013-11-14ObjectType: capitalise TagCarlos Martín Nieto
2013-11-14Don't repeat the pkg-config lineCarlos Martín Nieto
This is only needed once per package. Having it on every file makes the build system ask about it n times, which is silly.
2013-11-13Packbuilder: adjust to changes in devCarlos Martín Nieto
2013-09-22Remove leftover reference to old constCarlos Martín Nieto
2013-09-17Merge pull request #36 from libgit2/ref-iterVicent Martí
reference: get references out of the iterator
2013-09-17Merge pull request #38 from libgit2/odb-streamVicent Martí
Wrap the odb streams
2013-09-17Merge pull request #39 from libgit2/goify-constsVicent Martí
Goify consts
2013-09-12Give each const group a typeCarlos Martín Nieto
This allows us to restrict which constants the compiler will allow through, and makes the sorting in the documentation better.
2013-09-12Camel-case constantsCarlos Martín Nieto
Make the names look more like what you'd expect from Go.
2013-09-12Tree: add EntryByPathCarlos Martín Nieto
The more powerful version of EntryByName.
2013-09-11Object types are constantsCarlos Martín Nieto
Define the object type values as constants
2013-09-11Wrap the odb streamsCarlos Martín Nieto
The interface to these streams should be what you expect from Go, and both have Write and Close functions so they implement Reader/ReadCloser and Write/WriteCloser respectively.
2013-09-09Add Filemode to TreeEntryCarlos Martín Nieto
This field was missing, so let's add it, and let's add the const definitions for the modes while we're here.
2013-08-09reference: get references out of the iteratorCarlos Martín Nieto
Allow getting references out of the iterator instead of just names.
2013-07-22Submodule: adjust to the Default -> Reset change in the libraryCarlos Martín Nieto
2013-06-17Reference: adjust to iterator changesCarlos Martín Nieto
The Library's iterators now can return either the reference or the reference's name. As the name is what we're set up for, rename the functions appropriately so we compile against altest development.