- 03 Nov, 2015 1 commit
-
-
When `core.symlinks = false`, we write the symlinks content (target) to a regular file. We should ensure that when we later see that regular file, we treat it specially - and that changing that regular file would actually change the symlink target. (For compatibility with Git for Windows).
Edward Thomson committed
-
- 02 Nov, 2015 8 commits
-
-
Use checksums to detect config file changes
Edward Thomson committed -
Fix build for custom transport users
Edward Thomson committed -
merge-base: Remove redundant merge bases
Vicent Marti committed -
Vicent Marti committed
-
Vicent Marti committed
-
Vicent Marti committed
-
Vicent Marti committed
-
Vicent Marti committed
-
- 30 Oct, 2015 8 commits
-
-
This reduces the chances of a crash in the thread tests. This shouldn't affect general usage too much, since the main usage of these functions are to read into an empty buffer.
Carlos Martín Nieto committed -
Instead of relying on the size and timestamp, which can hide changes performed in the same second, hash the file content's when we care about detecting changes.
Carlos Martín Nieto committed -
We currently use the timestamp in order to decide whether a config file has changed since we last read it. This scheme falls down if the file is written twice within the same second, as we fail to detect the file change after the first read in that second.
Carlos Martín Nieto committed -
index: read_index must update hashes
Carlos Martín Nieto committed -
We should explicitly include the declaration of git_strarray from "include/git2/sys/transport.h"
Leo Yang committed -
Carlos Martín Nieto committed
-
Edward Thomson committed
-
Carlos Martín Nieto committed
-
- 29 Oct, 2015 2 commits
-
-
Fix segfault when reading reflog with extra newlines
Carlos Martín Nieto committed -
Using calloc instead of malloc because the parse error will lead to an immediate free of committer (and its properties, which can segfault on free if undefined - test_refs_reflog_reflog__reading_a_reflog_with_invalid_format_returns_error segfaulted before the fix). #3458
Stjepan Rajko committed
-
- 28 Oct, 2015 10 commits
-
-
Edward Thomson committed
-
pool: Simplify implementation
Vicent Marti committed -
Vicent Marti committed
-
Vicent Marti committed
-
Vicent Marti committed
-
Vicent Marti committed
-
Vicent Marti committed
-
cc @carlosmn
Vicent Marti committed -
Vicent Marti committed
-
Better REUC generation when merging
Vicent Marti committed
-
- 27 Oct, 2015 3 commits
-
-
Vicent Marti committed
-
Vicent Marti committed
-
Inserting new REUC entries can quickly become pathological given that each insert unsorts the REUC vector, and both subsequent lookups *and* insertions will require sorting it again before being successful. To avoid this, we're switching to `git_vector_insert_sorted`: this keeps the REUC vector constantly sorted and lets us use the `on_dup` callback to skip an extra binary search on each insertion.
Vicent Marti committed
-
- 26 Oct, 2015 2 commits
-
-
Fix docs typo geterr_clear -> giterr_clear
Carlos Martín Nieto committed -
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 1 commit
-
-
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
-