summaryrefslogtreecommitdiff
path: root/revparse.go
AgeCommit message (Collapse)Author
2015-08-04Move from an Object interface to a typeCarlos Martín Nieto
An Object should be about representing a libgit2 object rather than showing which methods it should support. Change any return of Object to *Object and provide methods to convert between this and the particular type.
2014-12-11Remove useless includesCarlos Martín Nieto
2014-10-28Make the constants have typesCarlos Martín Nieto
While Go will assign the correct type to a const block when it auto-creates the values, assigning makes the const be typeless and will only gain it in each particular use. Make each constant in the blocks have an assigned type.
2014-08-26Remove unnecessary heap allocationCarlos Martín Nieto
2014-08-22Extract data into a go struct.David Calavera
2014-07-24Add Repository#RevParseExt.David Calavera
2014-07-24Add Repository#RevParseSingle.David Calavera
2014-07-24Make a new pointer to pass to git_revparse.David Calavera
2014-07-24Move RevSpec#From and RevSpec#To to struct methods.David Calavera
2014-07-24Add Repository#RevParse.David Calavera