Commit Graph

118 Commits

Author SHA1 Message Date
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