Skip to content

Conversation

@cenk1cenk2
Copy link
Contributor

@cenk1cenk2 cenk1cenk2 commented Feb 7, 2026

This pull request adds a fixed point comparison for history mode.

By passing another flag with the existing flag parsing mechanism, you can designate a fixed point to compare a given commit with --base WORKING or --base HEAD.

This adds a different behavior where every commit you go back in history will only compare it against it to the designated state.

An example is as in the following case.

The current form without is as follows.

commit 5
commit 4 (commit 4 vs commit 5)
commit 3 (commit 3 vs commit 4)

with --base HEAD which we can imagine as commit 5;

commit 5 
commit 4 (commit 4 vs commit 5)
commit 3 (commit 3 vs commit 5)

This is comparable to the same-named diffview.nvim flag.

@esmuellert esmuellert enabled auto-merge February 11, 2026 05:35
@esmuellert
Copy link
Owner

I pushed some minor change and version bump, then merge it

@esmuellert esmuellert merged commit e1f070c into esmuellert:main Feb 11, 2026
13 checks passed
@cenk1cenk2
Copy link
Contributor Author

Thank you.

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.

2 participants