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
28b5284389
Use ObjectType in TreeEntry
2013-04-26 23:28:32 +02:00
Axel Wagner
f1848e48b8
Implement most of the oid_-functions as Methods
2013-04-26 21:12:27 +02:00
Vicent Martí
27e7ccee5a
Merge pull request #16 from Merovius/pointerrecv
...
Give gitObject.Free a pointer-receiver
2013-04-25 17:41:18 -07:00
Vicent Martí
eea1a15027
Merge pull request #15 from Merovius/objtype
...
Add String() Method to ObjectType
2013-04-25 17:40:39 -07: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
289d84e1f7
Give gitObject.Free a pointer-receiver
...
This is needed to get runtime.SetFinalizer to work, which
expects a pointer-receiver. Without it the runtime will crash, when it
tries to garbage-collect an object.
2013-04-26 02:32:41 +02:00
Axel Wagner
ac6ea9aa75
Add String() Method to ObjectType
2013-04-26 02:06:47 +02:00
Axel Wagner
a6429763a7
Wrap git_repository_is_bare
2013-04-26 00:10:28 +02:00
Vicent Marti
2bf17ba2f1
Ok, now with shared base object
2013-04-18 00:54:46 +02:00
Vicent Marti
7292cafac2
Add @carlosmn's tests
2013-04-16 23:18:35 +02:00
Vicent Marti
d190d8a6b3
Take 2 on polymorphism
2013-04-16 23:04:35 +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
Vicent Marti
b1d50b70ea
Initial commit
2013-03-05 20:53:04 +01:00