Skip to content

Rebase "onto" line in the interactive rebase UI is sometimes duplicated in the commits to rebase #1201

@Mumeii

Description

@Mumeii

Hi

I encounter a strange behhavior with the new rebase window.

I'd like to know :

  • If it's either a bug or a normal behavior.
  • And if it's a normal behavior, what it mean ?

OS : Mac OS Catalina v10.15.7
VSCode version : 1.51.1
Gitlens version : 11.0.4


I want to rebase the following set of commits over themself :

* c9c925f (HEAD -> tech/CI-enhancement, origin/tech/CI-enhancement) fixup! tech: remove install step & dockerize tests
* 4de658e tech: remove install step & dockerize tests
* 22a9d09 tech: Jest & jest-html-reporter version update To prepare a subsequent NodeJS version upgrade
* 89f3f0a tech: turn jest testResultsProcessor into reporter Doing so in order to ...
* 1cbc2f3 tech: ignore node_modules* : easy version swapping
* 525325a tech: major enhancement to Dockerfile
* d80fada tech: define NODE_ICU_DATA only when necessary
* a1cb5aa tech: remove old useless Jenkinsfile-open & -close
* dc9d67b tech: remove useless comments
* 78bdbd2 tech: add .dockerignore
* 1bc9ae0 tech: add timestamps to CI log lines
* 070ee0a fixup! tech: use stages for docker builds
* c4f4a61 fixup! tech: use stages for docker builds
* f213b58 tech: use stages for docker builds
* 0889eb9 fixup! tech: prevent chromium download for tests
* 99ff719 tech: prevent chromium download for tests

To do so, I perform a git rebase -i HEAD~16, as I usualy do

I was expecting to have 16 lines displayed, like the command line version of git rebase usually do.

Instead of that, I got the following display.

Screenshot 2020-11-23_12-32-45-744

Notice :

  • the extra line at the end which seems to be a duplicate of the first one, but without any SHA1 associated
  • I have --autosquash activated by default on rebase, and that there is fixup!entries in the commits I intend to rebase

What mean this extra final line been displayed ?

Thanks you for your feedback about it, and more importently, for Gitlens which is a great tool !

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions