summaryrefslogtreecommitdiff
path: root/reference.go
AgeCommit message (Collapse)Author
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-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
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-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-09-17Merge pull request #36 from libgit2/ref-iterVicent Martí
reference: get references out of the iterator
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-08-09reference: get references out of the iteratorCarlos Martín Nieto
Allow getting references out of the iterator instead of just names.
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.
2013-05-23Implement a reference iteratorCarlos Martín Nieto
Wrap the reference iterators, and provide a Iter() function to get them through a channel.
2013-03-07Wrap immutable refsCarlos Martín Nieto