- 17 May, 2014 3 commits
-
-
Philip Kelley committed
-
Philip Kelley committed
-
Test and fix Git diff binary detection compatibility
Vicent Marti committed
-
- 16 May, 2014 8 commits
-
-
Windows has its own ftruncate() called _chsize_s(). p_mkstemp() is changed to use p_open() so we can make sure we open for writing; the addition of exclusive create is a good thing to do regardless, as we want a temporary path for ourselves. Lastly, MSVC doesn't quite know how to add two numbers if one of them is a void pointer, so let's alias it to unsigned char.C
Carlos Martín Nieto committed -
Some OSs cannot keep their ideas about file content straight when mixing standard IO with file mapping. As we use mmap for reading from the packfile, let's make writing to the pack file use mmap.
Carlos Martín Nieto committed -
A variety of data patterns for diffs verified to match the behavior of binary detection with Git on the command line.
Russell Belfer committed -
Russell Belfer committed
-
Win32: Supply _O_NOINHERIT when calling _wopen
Russell Belfer committed -
Philip Kelley committed
-
Remote deletion
Vicent Marti committed -
When we delete a remote, we also need to go through its fetch refspecs and remove the references they create locally.
Carlos Martín Nieto committed
-
- 15 May, 2014 5 commits
-
-
pack: init the cache on packfile alloc
Russell Belfer committed -
Better global search path sandboxing in tests
Vicent Marti committed -
When running multithreaded, it is not enough to check for the offmap allocation. Move the call to cache_init() to packfile allocation so we can be sure it is always allocated free of races. This fixes #2355.
Carlos Martín Nieto committed -
There are a number of tests that modify the global or system search paths during the tests. This adds a helper function to make it easier to restore those paths and makes sure that they are getting restored in a manner that preserves test isolation.
Russell Belfer committed -
Philip Kelley committed
-
- 14 May, 2014 3 commits
-
-
Initialize local variable
Vicent Marti committed -
Increase config snapshot usage
Vicent Marti committed -
Add R bindings to the README
Vicent Marti committed
-
- 13 May, 2014 11 commits
-
-
And decrease extra reload checks of config data.
Russell Belfer committed -
Russell Belfer committed
-
Stefan Widgren committed
-
Linquize committed
-
Improve checks for ignore containment
Vicent Marti committed -
Make pack object lookup use loops
Vicent Marti committed -
Minor fix for previously merged netops code.
Vicent Marti committed -
The code doesn't use SSL and a test requires it.
Albert Meltzer committed -
The base object is a good cache candidate, so we shouldn't forget to add it to the cache.
Carlos Martín Nieto committed -
This avoid allocating the array on the heap for relatively small chains. The expected performance increase is sadly not really noticeable.
Carlos Martín Nieto committed -
Instead of going through a special entry in the chain, let's pass it as an output parameter.
Carlos Martín Nieto committed
-
- 12 May, 2014 6 commits
-
-
Pass unconverted Unicode path data when iconv doesn't like it
Russell Belfer committed -
Be more careful with user-supplied buffers
Russell Belfer committed -
Russell Belfer committed
-
Russell Belfer committed
-
Some improvements to the cert checking
Russell Belfer committed -
Configuration snapshotting
Russell Belfer committed
-
- 09 May, 2014 4 commits
-
-
The switch makes the loop somewhat unwieldy. Let's assume it's fine and perform the check when we're accessing the data. This makes our code look a lot more like git's.
Carlos Martín Nieto committed -
Dependency chains are often large and require a few reallocations. Allocate a 64-element chain before doing anything else to avoid allocations during the loop. This value comes from the stack-allocated one git uses. We still allocate this on the heap, but it does help performance a little bit.
Carlos Martín Nieto committed -
Carlos Martín Nieto committed
-
Bring back the use of the delta base cache for unpacking objects. When generating the delta chain, we stop when we find a delta base in the pack's cache and use that as the starting point.
Carlos Martín Nieto committed
-