Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rebased commits appear multiple times #106

Open
fredrivett opened this issue Apr 4, 2019 · 0 comments
Open

Rebased commits appear multiple times #106

fredrivett opened this issue Apr 4, 2019 · 0 comments

Comments

@fredrivett
Copy link

This is great, thanks Kamran. Only issue I'm facing here is that any rebased appear twice, whilst temporary WIP commits also show up though they no longer exist. Currently my git standup command shows this:

Screenshot 2019-04-04 at 10 13 29

Is there a way to either:

  1. Only show commits that still exist, by checking to see if the commit hash is present in any of the origin branches. Could maybe include a git fetch to make sure it's up to date (though may be an undesired side effect for some).
  2. If that's not possible, could it filter and only show the latest commit with the same commit message? So if you have add .vim to .gitignore committed twice due to a commit --amend or rebase it'd be great to be able to pass a flag that hides the repeated ones.

Ideally #1 would work best, as it would hide WIP commits too and seems to solve the problem closer to the root of the issue, but #2 would be a decent 80% fix towards making this more usable with those of us who rebase.

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

No branches or pull requests

1 participant