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: git/git
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: b227482ea0e31e5e1db3e7e9378b5d688e9ff5e3
Choose a base ref
...
head repository: git/git
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 28c1c077001d5cf715eb6264d75bc2537aa8cfd2
Choose a head ref
  • 1 commit
  • 6 files changed
  • 1 contributor

Commits on Jul 3, 2024

  1. t: migrate helper/test-oidmap.c to unit-tests/t-oidmap.c

    helper/test-oidmap.c along with t0016-oidmap.sh test the oidmap.h
    library which is built on top of hashmap.h.
    
    Migrate them to the unit testing framework for better performance,
    concise code and better debugging. Along with the migration also plug
    memory leaks and make the test logic independent for all the tests.
    The migration removes 'put' tests from t0016, because it is used as
    setup to all the other tests, so testing it separately does not yield
    any benefit.
    
    Mentored-by: Christian Couder <[email protected]>
    Mentored-by: Kaartic Sivaraam <[email protected]>
    Reviewed-by: Josh Steadmon <[email protected]>
    Helped-by: Phillip Wood <[email protected]>
    Helped-by: Junio C Hamano <[email protected]>
    Signed-off-by: Ghanshyam Thakkar <[email protected]>
    Signed-off-by: Junio C Hamano <[email protected]>
    spectre10 authored and gitster committed Jul 3, 2024
    Configuration menu
    Copy the full SHA
    28c1c07 View commit details
    Browse the repository at this point in the history
Loading