Commit Graph

9 Commits

Author SHA1 Message Date
Carlos Martín Nieto a9d993f3d1 Remove useless includes 2014-12-11 02:59:07 +01:00
Carlos Martín Nieto 668aa5dae1 Make the constants have types
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-10-28 11:29:31 +01:00
Carlos Martín Nieto 0d58580249 Remove unnecessary heap allocation 2014-08-26 12:35:05 +02:00
David Calavera 29840d28ad Extract data into a go struct. 2014-08-22 22:36:18 -07:00
David Calavera 94d207e11c Add Repository#RevParseExt. 2014-07-24 21:03:50 -07:00
David Calavera 691d8f23ba Add Repository#RevParseSingle. 2014-07-24 17:41:10 -07:00
David Calavera 43b6e0b154 Make a new pointer to pass to git_revparse. 2014-07-24 17:20:22 -07:00
David Calavera 8bbcdd65a6 Move RevSpec#From and RevSpec#To to struct methods. 2014-07-24 17:02:14 -07:00
David Calavera 3003e5e190 Add Repository#RevParse. 2014-07-24 15:37:59 -07:00