- 30 Aug, 2018 4 commits
-
-
Edward Thomson committed
-
Documentation fixes
Patrick Steinhardt committed -
config: convert unbounded recursion into a loop
Patrick Steinhardt committed -
Document giterr_last() use only after error. #4772
Patrick Steinhardt committed
-
- 29 Aug, 2018 3 commits
-
-
Etienne Samson committed
-
Etienne Samson committed
-
Etienne Samson committed
-
- 27 Aug, 2018 1 commit
-
-
Johan Abildskov committed
-
- 26 Aug, 2018 5 commits
-
-
util: make the qsort_r check work on macOS
Edward Thomson committed -
fuzzer: update for indexer changes
Edward Thomson committed -
Edward Thomson committed
-
tree: accept null ids in existing trees when updating
Edward Thomson committed -
Pack file verification
Edward Thomson committed
-
- 25 Aug, 2018 1 commit
-
-
Nelson Elhage committed
-
- 24 Aug, 2018 9 commits
-
-
This performs a compile-check by using CMake support, to differentiate the GNU version from the BSD version of qsort_r. Module taken from 4f252abea5f1d17c60f6ff115c9c44cc0b6f1df6, which I've checked against CMake 2.8.11.
Etienne Samson committed -
cmake: detect and use libc-provided iconv
Edward Thomson committed -
Coverity flavored clang analyzer fixes
Patrick Steinhardt committed -
tests: verify adding index conflicts with invalid filemodes fails
Edward Thomson committed -
worktree: unlock should return 1 when the worktree isn't locked
Patrick Steinhardt committed -
While most systems provide a separate iconv library against which applications can link, musl based systems do not provide such a library. Instead, iconv functions are directly included in the C library. As our current CMake module to locate the iconv library only checks whether a library exists somewhere in the typical library directories, we will never build libgit2 with libiconv support on such systems. Extend the iconv module to also search whether libc provides iconv functions, which we do by checking whether the `iconv_open` function exists inside of libc. If this is the case, we will default to use the libc provided one instead of trying to use a separate libiconv. While this changes which iconv we use on systems where both libc and an external libiconv exist, to the best of my knowledge common systems only provide either one or the other. Note that libiconv support in musl is held kind of basic. To quote musl libc's page on functional differences from glibc [1]: The iconv implementation musl is very small and oriented towards being unobtrusive to static link. Its character set/encoding coverage is very strong for its size, but not comprehensive like glibc’s. As we assume iconv to be a lot more capable than what musl provides, some of our tests will fail if using iconv on musl-based platforms. [1]: https://wiki.musl-libc.org/functional-differences-from-glibc.html
Patrick Steinhardt committed -
Add a fuzzer for config files
Patrick Steinhardt committed -
Commit 581d5492 (Fix leak in index.c, 2018-08-16) was fixing a memory leak in our code adding conflicts to the index when the added index entries have an invalid file mode. The memory leak was previously undiscovered as there are no tests covering this scenario, which is now being added by this commit.
Patrick Steinhardt committed -
Fix 'invalid packet line' for ng packets containing errors
Patrick Steinhardt committed
-
- 21 Aug, 2018 1 commit
-
-
Otherwise we return a NULL context, which will get dereferenced in apply_credentials.
Etienne Samson committed
-
- 20 Aug, 2018 6 commits
-
-
Otherwise we'll return stack data to the caller.
Etienne Samson committed -
In case there was nothing to parse in the buf, we'd return uninitialized stack data.
Etienne Samson committed -
At line 594, we do this : if (error < 0) return error; but if nothing was pushed in a GIT_SORT_TIME revwalk, we'd return uninitialized stack data.
Etienne Samson committed -
Johan Abildskov committed
-
Johan Abildskov committed
-
Johan Abildskov committed
-
- 19 Aug, 2018 3 commits
-
-
Fix leak in index.c
Edward Thomson committed -
threads::diff: use separate git_repository objects
Edward Thomson committed -
Our thread policies state that we cannot re-use the `git_repository` across threads. Our tests cannot deviate from that. Courtesy of Ximin Luo, https://github.com/infinity0: https://github.com/libgit2/libgit2/issues/4753#issuecomment-412247757
Edward Thomson committed
-
- 17 Aug, 2018 2 commits
-
-
travis: remove Coverity cron job
Edward Thomson committed -
Christian Schlack committed
-
- 16 Aug, 2018 5 commits
-
-
The documentation states that git_worktree_unlock returns 0 on success, and 1 on success if the worktree wasn't locked. Turns out we were returning 0 in any of those cases.
Etienne Samson committed -
abyss7 committed
-
Nelson Elhage committed
-
parse: Do not initialize the content in context to NULL
Patrick Steinhardt committed -
config_file: Don't crash on options without a section
Patrick Steinhardt committed
-