- 11 Jan, 2013 25 commits
-
-
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
-
- 10 Jan, 2013 15 commits
-
-
Add GIT_CHECKOUT_DISABLE_PATHSPEC_MATCH
Vicent Martí committed -
This adds an option to checkout a la the diff option to turn off fnmatch evaluation for pathspec entries. This can be useful to make sure your "pattern" in really interpretted as an exact file match only.
Russell Belfer committed -
Expose stock user/pass credential utility
Vicent Martí committed -
REUC needs to handle empty sides
Vicent Martí committed -
Edward Thomson committed
-
Sane refresh logic for #1180
Vicent Martí committed -
Libgit2 for AmigaOS4
Vicent Martí committed -
Vicent Marti committed
-
Vicent Marti committed
-
All the ODB backends have a specific refresh interface. When reading an object, first we attempt every single backend: if the read fails, then we refresh all the backends and retry the read one more time to see if the object has appeared.
Vicent Marti committed -
Don't call pthread_exit() in the callback of the fetch example
Vicent Martí committed -
Compilers that are not aware that pthread_exit() does not return issue a warning when compiling the present code. This change exchanges the call to pthread_exit() with a simple return statement. According to the pthread specification this is equivalent.
Sebastian Bauer committed -
Sebastian Bauer committed
-
Sebastian Bauer committed
-
Before it was compiled when CMake was actually run on AmigaOS.
Sebastian Bauer committed
-