Commit Graph

5 Commits

Author SHA1 Message Date
Carlos Martín Nieto 57ceb04c78 Return the same index and odb objects in successive calls
Instead of creating a new Go object each time Repository.Index()/Odb()
are called, return the same one as long as the underlying pointer
remains the same.
2013-12-18 16:48:07 +01: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
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 22f43840aa Submodule: adjust to the Default -> Reset change in the library 2013-07-22 01:28:04 +02:00
Vicent Marti 439f7acf28 Submodule wrapping courtesy of @sbinet 2013-03-05 21:05:55 +01:00