X Tutup
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: gitgitgadget/git
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 5361983
Choose a base ref
...
head repository: gitgitgadget/git
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 270e10a
Choose a head ref
  • 15 commits
  • 17 files changed
  • 4 contributors

Commits on Mar 17, 2026

  1. t2203: avoid suppressing git status exit code

    When git status is piped into grep, the exit status of the Git
    command is hidden by the pipeline. Capture the status output in a
    temporary file first, and then filter it as needed, so that any
    failure from git status is still noticed by the test suite.
    
    Signed-off-by: Jialong Wang <jerrywang183@yahoo.com>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
    Jialong Wang authored and gitster committed Mar 17, 2026
    Configuration menu
    Copy the full SHA
    4c23900 View commit details
    Browse the repository at this point in the history
  2. apply: report the location of corrupt patches

    When parsing a corrupt patch, git apply reports only the line number.
    That does not tell the user which input the line number refers to.
    
    Include the patch input path in the error message so the reported
    location is easier to use.
    
    Reset the line number for each patch input so the reported location stays
    correct when multiple input files are provided.
    
    Add tests for file input, standard input, multiple patch inputs, and
    existing binary-diff corrupt patch cases.
    
    Signed-off-by: Jialong Wang <jerrywang183@yahoo.com>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
    Jialong Wang authored and gitster committed Mar 17, 2026
    Configuration menu
    Copy the full SHA
    c5e15c9 View commit details
    Browse the repository at this point in the history
  3. apply: report input location in header parsing errors

    Several header parsing errors in apply.c still report only line
    numbers. When applying more than one input, that does not tell the
    user which input the line belongs to.
    
    Report the patch input location for these header parsing errors, and
    update the related tests.
    
    While touching parse_git_diff_header(), update the helper state to use
    the current header line when reporting these errors.
    
    Signed-off-by: Jialong Wang <jerrywang183@yahoo.com>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
    Jialong Wang authored and gitster committed Mar 17, 2026
    Configuration menu
    Copy the full SHA
    838c0ba View commit details
    Browse the repository at this point in the history
  4. apply: report input location in binary and garbage patch errors

    Several binary parsing paths in apply.c still report only line
    numbers. When more than one patch input is fed to a single
    invocation, that does not tell the user which input the line belongs
    to.
    
    Report the patch input location for corrupt and unrecognized binary
    patches, as well as the "patch with only garbage" case, and update
    the related tests.
    
    Signed-off-by: Jialong Wang <jerrywang183@yahoo.com>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
    Jialong Wang authored and gitster committed Mar 17, 2026
    Configuration menu
    Copy the full SHA
    2ef795b View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2026

  1. object-name: turn INTERPRET_BRANCH_* constants into enum values

    Replace the INTERPRET_BRANCH_* preprocessor constants with enum
    values and use that type where these flags are stored or passed
    around.
    
    These flags describe which kinds of branches may be considered during
    branch-name interpretation, so represent them as an enum describing
    branch kinds while keeping the existing bitmask semantics and
    INTERPRET_BRANCH_* element names.
    
    Signed-off-by: Jialong Wang <jerrywang183@yahoo.com>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
    Jialong Wang authored and gitster committed Mar 18, 2026
    Configuration menu
    Copy the full SHA
    c5fc44f View commit details
    Browse the repository at this point in the history
  2. t2107: modernize path existence check

    Replace '! test -f' with 'test_path_is_missing' to get better
    debugging information by reporting loudly what expectation was
    not met when the assertion fails.
    
    Signed-off-by: Aditya <adityabnw07@gmail.com>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
    QuantumDev-CERN authored and gitster committed Mar 18, 2026
    Configuration menu
    Copy the full SHA
    638c7bf View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2026

  1. commit-reach: simplify cleanup of remaining bitmaps in ahead_behind ()

    Don't bother extracting the last few remaining prio_queue items in
    order when we only want to free their associated bitmaps; just iterate
    over the item array.
    
    Signed-off-by: René Scharfe <l.s.r@web.de>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
    rscharfe authored and gitster committed Mar 19, 2026
    Configuration menu
    Copy the full SHA
    60d8b5a View commit details
    Browse the repository at this point in the history
  2. split-index: stop using the_repository and the_hash_algo

    Reference the hash algorithm of the passed-in index throughout the code.
    
    Signed-off-by: René Scharfe <l.s.r@web.de>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
    rscharfe authored and gitster committed Mar 19, 2026
    Configuration menu
    Copy the full SHA
    84df6e3 View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2026

  1. Merge branch 'rs/ahead-behind-cleanup-optimization'

    The cleanup of remaining bitmaps in "ahead_behind()" has been
    simplified.
    
    * rs/ahead-behind-cleanup-optimization:
      commit-reach: simplify cleanup of remaining bitmaps in ahead_behind ()
    gitster committed Mar 30, 2026
    Configuration menu
    Copy the full SHA
    cb7428f View commit details
    Browse the repository at this point in the history
  2. Merge branch 'rs/split-index-the-repo-fix'

    split-index.c has been updated to not use the global the_repository
    and the_hash_algo variables.
    
    * rs/split-index-the-repo-fix:
      split-index: stop using the_repository and the_hash_algo
    gitster committed Mar 30, 2026
    Configuration menu
    Copy the full SHA
    295eb2c View commit details
    Browse the repository at this point in the history
  3. Merge branch 'jw/apply-corrupt-location'

    "git apply" now reports the name of the input file along with the
    line number when it encounters a corrupt patch, and correctly
    resets the line counter when processing multiple patch files.
    
    * jw/apply-corrupt-location:
      apply: report input location in binary and garbage patch errors
      apply: report input location in header parsing errors
      apply: report the location of corrupt patches
    gitster committed Mar 30, 2026
    Configuration menu
    Copy the full SHA
    5032e70 View commit details
    Browse the repository at this point in the history
  4. Merge branch 'jw/t2203-status-pipe-fix'

    Test clean-up.
    
    * jw/t2203-status-pipe-fix:
      t2203: avoid suppressing git status exit code
    gitster committed Mar 30, 2026
    Configuration menu
    Copy the full SHA
    ffb31a3 View commit details
    Browse the repository at this point in the history
  5. Merge branch 'jw/object-name-bitset-to-enum'

    The unsigned integer that is used as an bitset to specify the kind
    of branches interpret_branch_name() function has been changed to
    use a dedicated enum type.
    
    * jw/object-name-bitset-to-enum:
      object-name: turn INTERPRET_BRANCH_* constants into enum values
    gitster committed Mar 30, 2026
    Configuration menu
    Copy the full SHA
    a1d7a8f View commit details
    Browse the repository at this point in the history
  6. Merge branch 'ai/t2107-test-path-is-helpers'

    Test cleanup.
    
    * ai/t2107-test-path-is-helpers:
      t2107: modernize path existence check
    gitster committed Mar 30, 2026
    Configuration menu
    Copy the full SHA
    6cb9247 View commit details
    Browse the repository at this point in the history
  7. The 23rd batch

    Signed-off-by: Junio C Hamano <gitster@pobox.com>
    gitster committed Mar 30, 2026
    Configuration menu
    Copy the full SHA
    270e10a View commit details
    Browse the repository at this point in the history
Loading
X Tutup