- 14 Jan, 2013 2 commits
-
-
Somewhat surprisingly, this can increase the speed considerably, as we don't bother trying to decide what to evict, and the most used entries are quickly back into the cache.
Carlos Martín Nieto committed -
This drops the cache eviction below libcrypto and zlib in the perf output. The number has been chosen empirically.
Carlos Martín Nieto committed
-
- 12 Jan, 2013 9 commits
-
-
The offset should be git_off_t, and we should check the return value of the mutex lock function.
Carlos Martín Nieto committed -
Carlos Martín Nieto committed
-
The indexer needs to call the packfile's free function so it takes care of freeing the caches. We still need to close the mwf descriptor manually so we can rename the packfile into its final name on Windows.
Carlos Martín Nieto committed -
Switch to specified branch during clone
Vicent Martí committed -
Sascha Cunz committed
-
Vicent Marti committed
-
Fixes #1232
Ben Straub committed -
Add a failing test for CRLF filters
Philip Kelley committed -
Philip Kelley committed
-
- 11 Jan, 2013 29 commits
-
-
Sascha Cunz committed
-
Sascha Cunz committed
-
This adds a git_buf_text_is_binary check to blobs before applying filters when the blob data is being written to disk.
Russell Belfer committed -
Match binary file check of core git in diff
Vicent Martí committed -
Fix diff patch line number calculation
Vicent Martí committed -
Core git just looks for NUL bytes in files when deciding about is-binary inside diff (although it uses a better algorithm in checkout, when deciding if CRLF conversion should be done). Libgit2 was using the better algorithm in both places, but that is causing some confusion. For now, this makes diff just look for NUL bytes to decide if a file is binary by content in diff.
Russell Belfer committed -
This was just wrong. Added a test that verifying patch line numbers even for hunks further into a file and then fixed the algorithm. I needed to add a little extra state into the patch so that I could track old and new file numbers independently, but it should be okay.
Russell Belfer committed -
This reverts commit f289f886, which makes the tests fail on Windows. Revert until we can figure out a solution.
Carlos Martín Nieto committed -
Introduce EMERGECONFLICT
Vicent Martí committed -
nulltoken committed
-
nulltoken committed
-
nulltoken committed
-
nulltoken committed
-
nulltoken committed
-
Vicent Marti committed
-
Vicent Marti committed
-
Introduce a delta base cache
Vicent Martí committed -
Some regex warning fixes
Vicent Martí committed -
It turns out the indexers have been ignoring the pack's free function and leaking data. Plug that.
Carlos Martín Nieto committed -
Currently limited to 16MB (like git) and to objects up to 1MB in size.
Carlos Martín Nieto committed -
Carlos Martín Nieto committed
-
refspec: prevent git_refspec__free() from segfaulting
Vicent Martí committed -
Carlos Martín Nieto committed
-
Many delta bases are re-used. Cache them to avoid inflating the same data repeatedly. This version doesn't limit the amount of entries to store, so it can end up using a considerable amound of memory.
Carlos Martín Nieto committed -
Carlos Martín Nieto committed
-
Fix libgit2/libgit2sharp#247
nulltoken committed -
There are different solutions to the problem. In this change, we define an UNUSED macro that maps to __attribute__((unused)) when compiling with gcc. Otherwise it is a NOOP. We apply this macro in all function headers for each parameter value that is not used within the function body. The change is local to regex.
Sebastian Bauer committed -
Sebastian Bauer committed
-
Sascha Cunz committed
-