summaryrefslogtreecommitdiff
path: root/src/buildtool/file_system/git_context.cpp
AgeCommit message (Collapse)Author
2024-11-14file_system: Implement IWYU suggestionsPaul Cristian Sarbu
2024-10-07Enable cppcoreguidelines-* checks.Maksim Denisov
2024-09-26Fix assignments in conditionsMaksim Denisov
...proposed by clang-tidy. Enable bugprone-assignment-in-if-condition check.
2024-03-15Clean up more includes and targetsPaul Cristian Sarbu
Some of the more specific issues addressed: - missing log_level target/include - header-only libs wrongly marking deps as private - missing/misplaced gsl includes
2023-05-15memcheck: fix race in libgit2...Paul Cristian Sarbu
...caused by incorrectly setting and resetting the library internal state and the misuse of pthreads in libgit2. Normally, git_libgit2_init and git_libgit2_shutdown should span the life of a worker thread in order to be safely used. However, due to an incorrect implementation of libgit2's threadstate with pthreads, on unix systems there is a race condition. Until the use of pthread_key_t is corrected in libgit2, we need to apply a workaround by always ensuring that the main thread is the first thread reaching the GitContext constructor.
2022-12-20Git CAS: Add a Git context class to maintain the libgit2 statePaul Cristian Sarbu