- 26 Oct, 2015 1 commit
-
-
Stjepan Rajko committed
-
- 23 Oct, 2015 5 commits
-
-
inttypes.h is built-in header file since MSVC 2013
Edward Thomson committed -
cmake: split sources into original paths for Xcode and MSVC
Carlos Martín Nieto committed -
xdiff: reference util.h in parent directory
Carlos Martín Nieto committed -
merge: add GIT_MERGE_TREE_FAIL_ON_CONFLICT
Vicent Marti committed -
The MSVC_SPLIT_SOURCES function is helpful for other IDEs, like Xcode, and will split the source files up into their target directories, instead of merely placing them all in a "Sources" directory. Rename MSVC_SPLIT_SOURCES to IDE_SPLIT_SOURCES and enable it for Xcode.
Edward Thomson committed
-
- 22 Oct, 2015 5 commits
-
-
Provide a new merge option, GIT_MERGE_TREE_FAIL_ON_CONFLICT, which will stop on the first conflict and fail the merge operation with GIT_EMERGECONFLICT.
Edward Thomson committed -
Nanoseconds in the index: ignore for diffing
Carlos Martín Nieto committed -
Although CMake will correctly configure include directories for us, some people may use their own build system, and we should reference `util.h` based on where it actually lives.
Edward Thomson committed -
Although our index contains the literal time present in the index, we do not read nanoseconds from disk, and thus we should not use them in any comparisons, lest we always think our working directory is dirty. Guard this behind a `GIT_USE_NSECS` for future improvement.
Edward Thomson committed -
Test that nanoseconds are round-tripped correctly when we read an index file that contains them. We should, however, ignore them because we don't understand them, and any new entries in the index should contain a `0` nsecs field, while existing preserving entries.
Edward Thomson committed
-
- 21 Oct, 2015 9 commits
-
-
The reason is that the types defined in libgit2's inttypes.h collide with system inttypes.h 3rd party library header files may directly reference MSVC's built-in inttypes.h Fixes #3476
Linquize committed -
config: add a ProgramData level
Edward Thomson committed -
api: be explicit about our C linkage
Carlos Martín Nieto committed -
Edward Thomson committed
-
This is where portable git stores the global configuration which we can use to adhere to it even though git isn't quite installed on the system.
Carlos Martín Nieto committed -
signature: Strip crud
Vicent Marti committed -
Vicent Marti committed
-
Vicent Marti committed
-
Vicent Marti committed
-
- 15 Oct, 2015 3 commits
-
-
revwalk: make commit list use 64 bits for time
Edward Thomson committed -
Preserve modes from a conflict in `git_index_insert`
Carlos Martín Nieto committed -
Fix pathological performance in ODB lookups
Vicent Marti committed
-
- 14 Oct, 2015 4 commits
-
-
For most real use cases, repositories with alternates use them as main object storage. Checking the alternate for objects before the main repository should result in measurable speedups. Because of this, we're changing the sorting algorithm to prioritize alternates *in cases where two backends have the same priority*. This means that the pack backend for the alternate will be checked before the pack backend for the main repository *but* both of them will be checked before any loose backends.
Vicent Marti committed -
In the current implementation of ODB backends, each backend is tasked with refreshing itself after a failed lookup. This is standard Git behavior: we want to e.g. reload the packfiles on disk in case they have changed and that's the reason we can't find the object we're looking for. This behavior, however, becomes pathological in repositories where multiple alternates have been loaded. Given that each alternate counts as a separate backend, a miss in the main repository (which can potentially be very frequent in cases where object storage comes from the alternate) will result in refreshing all its packfiles before we move on to the alternate backend where the object will most likely be found. To fix this, the code in `odb.c` has been refactored as to perform the refresh of all the backends externally, once we've verified that the object is nowhere to be found. If the refresh is successful, we then perform the lookup sequentially through all the backends, skipping the ones that we know for sure weren't refreshed (because they have no refresh API). The on-disk pack backend has been adjusted accordingly: it no longer performs refreshes internally.
Vicent Marti committed -
CMake: be more explicit with python errors
Edward Thomson committed -
We moved the "main" parsing to use 64 bits for the timestamp, but the quick parsing for the revwalk did not. This means that for large timestamps we fail to parse the time and thus the walk. Move this parser to use 64 bits as well.
Carlos Martín Nieto committed
-
- 07 Oct, 2015 2 commits
-
-
Examples: network/fetch.c transfer_progress_cb - should return a value
Carlos Martín Nieto committed -
Eun committed
-
- 06 Oct, 2015 1 commit
-
-
There's been a few reports of users not understanding what the python error means, so spell out the options they have.
Carlos Martín Nieto committed
-
- 05 Oct, 2015 6 commits
-
-
xdiff fixes
Edward Thomson committed -
Edward Thomson committed
-
Edward Thomson committed
-
xdiff craps the bed on large files. Treat very large files as binary, so that it doesn't even have to try. Refactor our merge binary handling to better match git.git, which looks for a NUL in the first 8000 bytes.
Edward Thomson committed -
Edward Thomson committed
-
Edward Thomson committed
-
- 01 Oct, 2015 1 commit
-
-
refdb and odb backends must provide `free` function
Carlos Martín Nieto committed
-
- 30 Sep, 2015 3 commits
-
-
As refdb and odb backends can be allocated by client code, libgit2 can’t know whether an alternative memory allocator was used, and thus should not try to call `git__free` on those objects. Instead, odb and refdb backend implementations must always provide their own `free` functions to ensure memory gets freed correctly.
Arthur Schreiber committed -
portability: use `CHECK_FUNCTION_EXISTS` for checking whether functions exist...
Carlos Martín Nieto committed -
openssl: don't try to teardown an unconnected SSL context
Edward Thomson committed
-