Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: libgit2/libgit2
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.8.1
Choose a base ref
...
head repository: libgit2/libgit2
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.8.2
Choose a head ref
  • 14 commits
  • 31 files changed
  • 1 contributor

Commits on May 13, 2024

  1. alloc: introduce debug allocators

    Instead of tweaking the `stdalloc` allocator when
    `GIT_DEBUG_STRICT_ALLOC` is defined, actually create a debugging
    allocator. This allows us to ensure that we are strict about things like
    not expecting `malloc(0)` to do something useful, but we can also
    introduce an excessively pedantic `realloc` implementation that _always_
    creates a new buffer, throws away its original `ptr`, and overwrites the
    data that's there with garbage. This may be helpful to identify places
    that make assumptions about realloc.
    ethomson committed May 13, 2024
    Configuration menu
    Copy the full SHA
    aaed67f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cfd6e01 View commit details
    Browse the repository at this point in the history
  3. util: don't return system allocated strings in realpath

    realpath(3) _may_ allocate strings (if the second param is NULL) using
    the system allocator. However, callers need an assurance that they can
    free memory using git__free. If we made realpath do an allocation, then
    make sure that we strdup it into our allocator's memory.
    
    More importantly, avoid this behavior by always providing a buffer to
    p_realpath invocations.
    ethomson committed May 13, 2024
    Configuration menu
    Copy the full SHA
    afb2ef2 View commit details
    Browse the repository at this point in the history
  4. tests: reset the allocator to the default

    Instead of setting the allocator to stdalloc, just pass `NULL`, in case
    we're running with the debug allocator.
    ethomson committed May 13, 2024
    Configuration menu
    Copy the full SHA
    abedcfe View commit details
    Browse the repository at this point in the history

Commits on May 15, 2024

  1. Configuration menu
    Copy the full SHA
    eb00b48 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0dab9d4 View commit details
    Browse the repository at this point in the history

Commits on May 16, 2024

  1. README: update build badges and links

    Use new-style links to the build information and badges, which link to the workflow filename, not the display name.
    ethomson authored May 16, 2024
    1 Configuration menu
    Copy the full SHA
    ee55269 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #6811 from libgit2/ethomson/test_allocator

    Introduce a stricter debugging allocator for testing
    ethomson authored May 16, 2024
    Configuration menu
    Copy the full SHA
    6c5520f View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2024

  1. Revert "commit: fix const declaration"

    This reverts commit cf19ddc, which
    was breaking for several projects.
    ethomson committed Jun 13, 2024
    2 Configuration menu
    Copy the full SHA
    49d3fad View commit details
    Browse the repository at this point in the history
  2. Merge pull request #6816 from libgit2/ethomson/readme

    README: add experimental builds to ci table
    ethomson authored Jun 13, 2024
    Configuration menu
    Copy the full SHA
    93cb09f View commit details
    Browse the repository at this point in the history
  3. Merge pull request #6829 from libgit2/ethomson/fix_constness

     Fix constness issue introduced in #6716
    ethomson authored Jun 13, 2024
    Configuration menu
    Copy the full SHA
    4516ca1 View commit details
    Browse the repository at this point in the history
  4. v1.8.2: update changelog

    ethomson committed Jun 13, 2024
    Configuration menu
    Copy the full SHA
    48b6327 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e9d56b0 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #6830 from libgit2/ethomson/v1.8.2

    libgit2 v1.8.2
    ethomson authored Jun 13, 2024
    Configuration menu
    Copy the full SHA
    4ce872a View commit details
    Browse the repository at this point in the history
Loading