-
-
Notifications
You must be signed in to change notification settings - Fork 605
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
Disable dotted range commit yanking #2577
Disable dotted range commit yanking #2577
Conversation
@naseschwarz this could be unittested, right? |
@vlad-anger: I'll add some test to this and give you a heads up. No need to look at this right now. |
d17d5fe
to
83603ad
Compare
@vlad-anger: Here we go. :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've checked PR & see why prevsly implemented dotted yank was not sufficient.
Should we add some notes/todos for future implementors?
Also my 2 review cents:
The algorithm for computing marked_consecutive assumes that commits are consecutive in the commit graph if they are consecutive in the linearized log used in` commitlist.rs`. That is not universally correct, as siblings may also be displayed consecutively in this list. For now, this just removes generating commit lists in dotted range notation.
35265f8
to
7f65df4
Compare
Thank you, @vlad-anger. I've applied all suggestions. |
Awesome ! |
The algorithm for computing marked_consecutive assumes that commits are consecutive in the commit graph if they are consecutive in the linearized log used in
commitlist.rs
. That is not universally correct, as siblings may also be displayed consecutively in this list.For now, this just removes generating commit lists in dotted range notation.
This Pull Request fixes/closes #2576
It changes the following:
I followed the checklist:
make check
without errors