Skip to content

Conversation

KEY60228
Copy link

Related Issue: #589

Usage

" Compare working tree against merge-base of origin/main and HEAD
:DiffviewOpen --merge-base origin/main

Implementation Details

  • The flag only applies when a single revision is specified
  • Uses git merge-base HEAD to find the common ancestor
  • Falls back to using the revision directly if merge-base computation fails
  • Maintains backward compatibility with existing behavior

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant