1. 21 Nov, 2020 4 commits
  2. 02 Nov, 2020 1 commit
  3. 25 Oct, 2020 10 commits
  4. 14 Oct, 2020 1 commit
  5. 13 Oct, 2020 1 commit
  6. 12 Oct, 2020 1 commit
    • Make the Windows leak detection more robust · 4a0dceeb
      This change:
      
      * Increases MY_ROW_LIMIT to 2M, since it has been failing in #5595's
        tests since it's _super_ close to the limit.
      * Calls `git_repository_free()` on a `git_repository` that was being
        leaked only in Windows.
      * Marks the global `git_repository` on `tests/repo/init.c` as `NULL`
        after being freed to make any accidental access more noisy.
      * Uses `cl_assert_equal_i()` in `test_trace_windows_stacktrace__leaks`
        to make the test failures more actionable.
      * Renames the globals in `tests/repo/init.c` so that they don't start
        with an underscore.
      lhchavez committed
  7. 11 Oct, 2020 10 commits
  8. 08 Oct, 2020 2 commits
    • Avoid using atomics in pool.c · 03c0938f
      Instead, globally initialize the system page size.
      lhchavez committed
    • Improve the support of atomics · cc1d7f5c
      This change:
      
      * Starts using GCC's and clang's `__atomic_*` intrinsics instead of the
        `__sync_*` ones, since the former supercede the latter (and can be
        safely replaced by their equivalent `__atomic_*` version with the
        sequentially consistent model).
      * Makes `git_atomic64`'s value `volatile`. Otherwise, this will make
        ThreadSanitizer complain.
      * Adds ways to load the values from atomics. As it turns out,
        unsynchronized read are okay only in some architectures, but if we
        want to be correct (and make ThreadSanitizer happy), those loads
        should also be performed with the atomic builtins.
      * Fixes two ThreadSanitizer warnings, as a proof-of-concept that this
        works:
        - Avoid directly accessing `git_refcount`'s `owner` directly, and
          instead makes all callers go through the `GIT_REFCOUNT_*()` macros,
          which also use the atomic utilities.
        - Makes `pool_system_page_size()` race-free.
      
      Part of: #5592
      lhchavez committed
  9. 07 Oct, 2020 1 commit
  10. 06 Oct, 2020 2 commits
  11. 05 Oct, 2020 1 commit
  12. 04 Oct, 2020 1 commit
    • p_chmod: Android compatibility · e8ab3db9
      Fix #5565
      
      Pre-Android 5 did not implement a virtual filesystem atop FAT partitions for Unix permissions, which causes chmod to fail. However, Unix permissions have no effect on Android anyway as file permissions are not actually managed this way, so treating it as a no-op across all Android is safe.
      kevinlul committed
  13. 18 Sep, 2020 4 commits
  14. 16 Sep, 2020 1 commit