git2.go.git
16 months agoUpdate to lastest libgit2 master
Julian Phillips [Thu, 23 Dec 2010 17:41:23 +0000 (17:41 +0000)] 
Update to lastest libgit2

The git_person private struct has been replaced by a public
git_signature struct.

17 months agoAdd Index.Insert()
Julian Phillips [Wed, 15 Dec 2010 19:05:14 +0000 (19:05 +0000)] 
Add Index.Insert()

17 months agoIndexEntry: Add CTime & MTime
Julian Phillips [Wed, 15 Dec 2010 12:47:38 +0000 (12:47 +0000)] 
IndexEntry: Add CTime & MTime

17 months agoIndexEntry: Change to fixed size types
Julian Phillips [Wed, 15 Dec 2010 12:47:13 +0000 (12:47 +0000)] 
IndexEntry: Change to fixed size types

17 months agoNow that we can create an IndexEntry, implement Index.Get
Julian Phillips [Wed, 15 Dec 2010 11:29:30 +0000 (11:29 +0000)] 
Now that we can create an IndexEntry, implement Index.Get

17 months agoStart adding git_index_entry support
Julian Phillips [Wed, 15 Dec 2010 11:16:58 +0000 (11:16 +0000)] 
Start adding git_index_entry support

17 months agoStart adding index operations
Julian Phillips [Tue, 14 Dec 2010 00:39:50 +0000 (00:39 +0000)] 
Start adding index operations

17 months agoTrim headers
Julian Phillips [Mon, 13 Dec 2010 00:38:44 +0000 (00:38 +0000)] 
Trim headers

Not all the C headers being included are actually needed.

17 months agoAdd support for getting refs
Julian Phillips [Sat, 11 Dec 2010 15:28:43 +0000 (15:28 +0000)] 
Add support for getting refs

Since libgit2 doesn't have any ref support yet we have to call out to
the git binary to do this - and it's possible the the API won't match
what libgit2 will provide in the future.  However, in the short term
this will make the library a lot more useful for actually working with
git repositories.

17 months agogofmt
Julian Phillips [Fri, 10 Dec 2010 22:24:16 +0000 (22:24 +0000)] 
gofmt

17 months agoMake the error handling neater
Julian Phillips [Fri, 10 Dec 2010 22:17:33 +0000 (22:17 +0000)] 
Make the error handling neater

17 months agoImplement missing functions
Julian Phillips [Fri, 10 Dec 2010 20:24:07 +0000 (20:24 +0000)] 
Implement missing functions

17 months agogofmt
Julian Phillips [Thu, 9 Dec 2010 23:52:27 +0000 (23:52 +0000)] 
gofmt

17 months agoAdd NewCommit method to Repository
Julian Phillips [Thu, 9 Dec 2010 23:47:36 +0000 (23:47 +0000)] 
Add NewCommit method to Repository

17 months agoSwitch to using shared version of libgit2
Julian Phillips [Thu, 9 Dec 2010 23:46:35 +0000 (23:46 +0000)] 
Switch to using shared version of libgit2

The upcoming cgo changes will mean that linking to static C libs won't
work anymore.  So switch to the shared version of libgit2 in
preparation.

17 months agoMake error text more friendly
Julian Phillips [Thu, 9 Dec 2010 22:13:00 +0000 (22:13 +0000)] 
Make error text more friendly

17 months agoAdd Blob functions
Julian Phillips [Thu, 9 Dec 2010 21:27:53 +0000 (21:27 +0000)] 
Add Blob functions

17 months agoAdd Revision Walking
Julian Phillips [Thu, 9 Dec 2010 19:35:37 +0000 (19:35 +0000)] 
Add Revision Walking

17 months agoSplit cgo code up into smaller chunks
Julian Phillips [Thu, 9 Dec 2010 19:15:13 +0000 (19:15 +0000)] 
Split cgo code up into smaller chunks

Rather than lumping everything together in one file, split things out
to make it easier to navigate.

17 months agoAdd OType
Julian Phillips [Thu, 9 Dec 2010 09:00:29 +0000 (09:00 +0000)] 
Add OType

17 months agoAdd Object
Julian Phillips [Thu, 9 Dec 2010 09:00:13 +0000 (09:00 +0000)] 
Add Object

17 months agogofmt
Julian Phillips [Thu, 9 Dec 2010 02:12:43 +0000 (02:12 +0000)] 
gofmt

17 months agoFill in some blanks
Julian Phillips [Thu, 9 Dec 2010 02:11:28 +0000 (02:11 +0000)] 
Fill in some blanks

Some of the previously missing types now exist, so some more functions
can be implemented for some types.

17 months agoAdd Person
Julian Phillips [Thu, 9 Dec 2010 02:11:14 +0000 (02:11 +0000)] 
Add Person

17 months agoAdd beginnings of Tag
Julian Phillips [Thu, 9 Dec 2010 01:58:17 +0000 (01:58 +0000)] 
Add beginnings of Tag

17 months agoLookupCommit should take *Oid, not Oid
Julian Phillips [Thu, 9 Dec 2010 01:28:20 +0000 (01:28 +0000)] 
LookupCommit should take *Oid, not Oid

17 months agoAdd Tree and TreeEntry types and functions
Julian Phillips [Thu, 9 Dec 2010 01:27:56 +0000 (01:27 +0000)] 
Add Tree and TreeEntry types and functions

17 months agoIgnore the generated files
Julian Phillips [Thu, 9 Dec 2010 01:27:14 +0000 (01:27 +0000)] 
Ignore the generated files

17 months agoStart creating a go wrapper for libgit2
Julian Phillips [Thu, 9 Dec 2010 00:30:35 +0000 (00:30 +0000)] 
Start creating a go wrapper for libgit2