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: dashed/git-chain
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: dashed/git-chain
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: fix-merge-commit-info
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 1 commit
  • 2 files changed
  • 1 contributor

Commits on May 21, 2025

  1. Fix: Improve merge commit information retrieval

    The `get_merge_commit_info` function was previously only checking the
    latest commit on a branch for merge information. This could lead to
    incomplete or misleading reports if earlier merge commits existed on the
    branch.
    
    This commit modifies `get_merge_commit_info` to iterate through all
    commits on the specified branch. It now correctly identifies all merge
    commits that merged from the given parent branch and extracts their
    respective commit messages and statistics.
    
    Additionally, a new test case (`test_get_merge_commit_info_multiple_merges`)
    has been added to `tests/merge.rs`. This test verifies that the updated
    function correctly retrieves information for multiple merge commits on a
    single branch, ensuring more robust and accurate reporting of merge
    activities.
    google-labs-jules[bot] committed May 21, 2025
    Configuration menu
    Copy the full SHA
    ce6b5a1 View commit details
    Browse the repository at this point in the history
Loading