Skip to content

Rebased commits appear multiple times #106

@fredrivett

Description

@fredrivett

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions