Aidan Nulman
f610cf25d7
Merge branch 'master' into custom_odb
2014-01-28 22:49:55 -05:00
Aidan Nulman
507a204249
Rename constructor functions to New...
2013-12-19 17:24:44 -05:00
Aidan Nulman
19b241bd55
Refactor InitRepositoryWCustomOdbBackend() into component functions
2013-12-19 00:33:23 -05:00
Aidan Nulman
dfe6d1ab7e
Stop assuming ODB backend includes wrapping routine; wrap in git2go instead
2013-12-18 17:25:54 -05:00
Carlos Martín Nieto
a40bdfd420
Lock the OS thread when acessing errors
...
The library stores error information in thread-local storage, which
means we need to make sure that the Go runtime doesn't switch OS
threads between the time we call a function and th time we attempt to
retrieve the error information.
2013-12-18 16:18:32 +01:00
Aidan Nulman
66dfbbf539
add function to init repos w/custom odb backends
2013-12-17 18:46:25 -05:00
Artiom Di
5e30c192e9
Fix memleak for Config and parent commit objects
2013-11-14 15:24:43 +02:00
Artiom Di
295ec8894c
Fix memleak, free TreeBuilder
2013-11-14 13:08:34 +02:00
Carlos Martín Nieto
a5ad8de506
Don't repeat the pkg-config line
...
This is only needed once per package. Having it on every file makes the
build system ask about it n times, which is silly.
2013-11-14 00:23:04 +01:00
Carlos Martín Nieto
00e3df94c7
Camel-case constants
...
Make the names look more like what you'd expect from Go.
2013-09-12 10:40:57 +02:00
Vicent Martí
62f65d071d
Merge pull request #13 from libgit2/polymorphism-take-2
...
My take on polymorphism
2013-06-13 10:15:36 -07:00
Axel Wagner
a6429763a7
Wrap git_repository_is_bare
2013-04-26 00:10:28 +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
Axel Wagner
c1634c975e
Implement SetWorkdir
2013-03-19 23:07:10 +01:00
Carlos Martín Nieto
d5a5467738
Delete the whole test dir
2013-03-07 21:01:22 +01:00
Carlos Martín Nieto
0b2f16665d
Wrap immutable refs
2013-03-07 21:01:21 +01:00
Carlos Martín Nieto
5c09440f42
Add a couple of missing methods around Blob
2013-03-06 23:59:33 +01: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
20e2528478
Repository.CreateCommit
2013-03-06 16:59:45 +01:00
Carlos Martín Nieto
33f4594e9c
Wrap git_index
2013-03-06 13:10:53 +01: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
Carlos Martín Nieto
93ab5a1c3e
Bring back the RevWalk
2013-03-05 21:47:55 +01:00
Vicent Marti
b1d50b70ea
Initial commit
2013-03-05 20:53:04 +01:00