Commit Graph

51 Commits

Author SHA1 Message Date
Vicent Martí 551e580a79 Merge pull request #28 from Merovius/shorten
Implement ShortenOids
2013-06-13 10:09:53 -07:00
Vicent Martí 96d411bec4 Merge pull request #27 from Merovius/odb_foreach
Implement git_odb_foreach
2013-06-13 10:09:26 -07:00
Axel Wagner 535a178afa Implement ShortenOids 2013-05-21 23:03:11 +02:00
Axel Wagner 3a0abcc2e4 Implement git_odb_foreach 2013-05-21 21:37:08 +02:00
Vicent Martí 4e0a28b064 Merge pull request #23 from Merovius/discover
Use cbool-helper in Discover()
2013-05-16 17:43:26 -07:00
Vicent Martí b1c3de066f Merge pull request #19 from Merovius/discover
Implement git_repository_discover
2013-05-16 17:41:34 -07:00
Axel Wagner 420cf7f0a6 Use cbool-helper in Discover() 2013-05-17 01:02:33 +02:00
Vicent Martí a1743f75b2 Merge pull request #21 from Merovius/packbuilder
Implement Packbuilder-Support
2013-05-16 14:11:10 -07:00
Axel Wagner 3a1bbbdf9d Correct some errors from 1da989e 2013-05-16 16:53:21 +02:00
Axel Wagner 1da989e28b Add Write(w io.Writer) to packbuilder
This wraps (*packbuilder).ForEach(), making it possible to write the
pack easiliy to a tcp-connection, a HTTP-Body or the like.
2013-05-16 14:02:22 +02:00
Axel Wagner 140f362428 Add support for git_packbuilder 2013-05-16 13:56:07 +02:00
Axel Wagner e1238b5994 Implement git_repository_discover 2013-05-14 21:35:58 +02:00
Vicent Martí c9adbf05d7 Merge pull request #17 from Merovius/oid
Implement most of the oid_-functions as Methods
2013-04-26 14:54:14 -07:00
Axel Wagner f1848e48b8 Implement most of the oid_-functions as Methods 2013-04-26 21:12:27 +02:00
Vicent Martí 9822cc944e Merge pull request #14 from Merovius/isbare
Wrap git_repository_is_bare
2013-04-25 17:39:57 -07:00
Axel Wagner a6429763a7 Wrap git_repository_is_bare 2013-04-26 00:10:28 +02:00
Vicent Martí c7286515b8 Merge pull request #12 from Merovius/checkout
Checkout
2013-04-12 13:41:32 -07:00
Axel Wagner c1634c975e Implement SetWorkdir 2013-03-19 23:07:10 +01:00
Axel Wagner b27c14b620 Implement rudimentary checkout operations 2013-03-19 23:07:05 +01:00
Vicent Martí 3066c13c63 Merge pull request #10 from carlosmn/oid-id
TreeEntry: use Id instead of Oid
2013-03-08 14:08:43 -08:00
Carlos Martín Nieto c854239784 TreeEntry: use Id instead of Oid
Name it like The Library and the rest of the bindings.
2013-03-08 21:26:19 +01:00
Vicent Martí 78d105f862 Merge pull request #9 from carlosmn/nil-oid
Oid: make sure not to dereference a NULL git_oid
2013-03-08 07:09:44 -08:00
Carlos Martín Nieto 62a16395b1 Oid: make sure not to dereference a NULL git_oid
Some calls like Reference.Target() can return NULL if the reference is
symbolic. Make sure newOidFromC() can handle these situations.
2013-03-08 16:03:49 +01:00
Vicent Martí b57c792bf3 Merge pull request #8 from carlosmn/refs
Immutable refs
2013-03-07 12:03:14 -08:00
Carlos Martín Nieto d5a5467738 Delete the whole test dir 2013-03-07 21:01:22 +01:00
Carlos Martín Nieto ddbe13dab4 Add a test for references 2013-03-07 21:01:21 +01:00
Carlos Martín Nieto 1a79563794 Factor out creating the test repo 2013-03-07 21:01:21 +01:00
Carlos Martín Nieto 0b2f16665d Wrap immutable refs 2013-03-07 21:01:21 +01:00
Vicent Martí bc3f9e02ee Merge pull request #7 from carlosmn/blob
Add a couple of missing methods around Blob
2013-03-06 15:01:42 -08:00
Carlos Martín Nieto 5c09440f42 Add a couple of missing methods around Blob 2013-03-06 23:59:33 +01:00
Vicent Martí 677378bc34 Merge pull request #6 from carlosmn/signature
Use time.Time in the Signature struct
2013-03-06 11:40:16 -08:00
Carlos Martín Nieto 32a62bb01a Use time.Time in the Signature struct 2013-03-06 20:28:39 +01:00
Vicent Martí 4b40227697 Merge pull request #5 from mrb/test_fix
Fixed renamed func in index_test
2013-03-06 10:28:11 -08:00
mrb ac17e28633 Fixed renamed func in index_test 2013-03-06 13:06:00 -05:00
Vicent Marti e620ded393 Sane names yo 2013-03-06 17:18:25 +01:00
Vicent Marti 60eac43943 Repository.Path 2013-03-06 17:17:27 +01:00
Vicent Marti 3ca8077334 Properly wrap ODB objects 2013-03-06 17:15:28 +01:00
Vicent Marti 4819b36b67 Update README 2013-03-06 17:06:01 +01:00
Vicent Marti 20e2528478 Repository.CreateCommit 2013-03-06 16:59:45 +01:00
Vicent Martí bdfd8736bc Merge pull request #4 from carlosmn/index
Wrap the index and test it a bit
2013-03-06 07:48:16 -08:00
Carlos Martín Nieto 23ba0f1e6d Test the index code slightly 2013-03-06 13:39:53 +01:00
Carlos Martín Nieto 33f4594e9c Wrap git_index 2013-03-06 13:10:53 +01:00
Vicent Martí 9b6d570748 Merge pull request #3 from carlosmn/finalizers
Free Git objects via finalizers or manually
2013-03-05 16:59:40 -08:00
Carlos Martín Nieto d43561fbf7 Free Git objects via finalizers or manually
Provide a manual way of freeing objects, but set finalizers for them
in case the user does not want to worry about memory management, which
would be useful for commits or trees, which sare typically small.

When the objects are freed manually, the finalizer is unset to avoid
double-freeing, mimicking what the go runtime does.
2013-03-06 01:47:53 +01:00
Vicent Martí 2885e3fe0c Merge pull request #2 from carlosmn/signature
Introduce Signature
2013-03-05 14:25:49 -08:00
Carlos Martín Nieto dce75a8974 Introduce Signature
It brings the data into go-land so we don't have to worry about the
commit being there. It stores the data we get from git and provides a
Time() function to get a time.Time struct.
2013-03-05 23:18:07 +01:00
Vicent Martí dd2ad2bf6b Merge pull request #1 from carlosmn/revwalk
Bring back the RevWalk
2013-03-05 13:14:58 -08:00
Carlos Martín Nieto 93ab5a1c3e Bring back the RevWalk 2013-03-05 21:47:55 +01:00
Vicent Marti 439f7acf28 Submodule wrapping courtesy of @sbinet 2013-03-05 21:05:55 +01:00
Carlos Martín Nieto 1926f913b3 My username is carlosmn 2013-03-05 21:00:31 +01:00