- 10 Dec, 2012 3 commits
-
-
Ben Straub committed
-
indexer: move the temporary buffers into the indexer object
Vicent Martí committed -
Fix mwindow mutex initialization and error checking
Vicent Martí committed
-
- 09 Dec, 2012 4 commits
-
-
Justin Spahr-Summers committed
-
Justin Spahr-Summers committed
-
Justin Spahr-Summers committed
-
This could also use PTHREAD_MUTEX_INITIALIZER, but a dynamic initializer seems like a more portable concept, and we won't need another #define on top of git_mutex_init()
Justin Spahr-Summers committed
-
- 07 Dec, 2012 5 commits
-
-
Storing 4kB or 8kB in the stack is not very gentle. As this part has to be linear, put the buffer into the indexer object so we allocate it once in the heap.
Carlos Martín Nieto committed -
Indexer speedup with large objects
Vicent Martí committed -
tree: relax the filemode parser
Vicent Martí committed -
There are many different broken filemodes in the wild so we need to protect against them and give something useful up the chain. Don't fail when reading a tree from the ODB but normalize the mode as best we can. As 664 is no longer a mode that we consider to be valid and gets normalized to 644, we can stop accepting it in the treebuilder. The library won't expose it to the user, so any invalid modes are a bug.
Carlos Martín Nieto committed -
Ben Straub committed
-
- 06 Dec, 2012 3 commits
-
-
Vicent Marti committed
-
Vicent Marti committed
-
Vicent Marti committed
-
- 05 Dec, 2012 8 commits
-
-
Fix diff header comments and missing const
Vicent Martí committed -
Based on the recent work to wrap diff in objective-git, this includes a fix for a missing const and a number of clarifications of the documentation.
Russell Belfer committed -
Vicent Marti committed
-
Vicent Marti committed
-
Vicent Marti committed
-
Vicent Marti committed
-
Version info for public structs
Vicent Martí committed -
Ben Straub committed
-
- 04 Dec, 2012 3 commits
-
-
Edward Thomson committed
-
Hey that's not an int!
Vicent Martí committed -
Edward Thomson committed
-
- 03 Dec, 2012 8 commits
-
-
status should ignore conflicts entries in the index
Russell Belfer committed -
Edward Thomson committed
-
Ben Straub committed
-
Ben Straub committed
-
Ben Straub committed
-
odb-pack: resurrect pack_backend__read_header
Vicent Martí committed -
Vicent Marti committed
-
EINVALIDSPEC
Vicent Martí committed
-
- 02 Dec, 2012 2 commits
-
-
David Michael Barr committed
-
To paraphrase @peff: You can get both size and type from a packed object reasonably cheaply. If you have: * An object that is not a delta; both type and size are available in the packfile header. * An object that is a delta. The packfile type will be OBJ_*_DELTA, and you have to resolve back to the base to find the real type. That means potentially a lot of packfile index lookups, but each one is relatively cheap. For the size, you inflate the first few bytes of the delta, whose header will tell you the resulting size of applying the delta to the base. For simplicity, we just decompress the whole delta for now.
David Michael Barr committed
-
- 01 Dec, 2012 4 commits