-
-
Couldn't load subscription status.
- Fork 2.3k
Description
Is your feature request related to a problem? Please describe.
Sometimes it's useful to revert a range of commits.
Describe the solution you'd like
In git you can revert commits A-B via git revert ^A..B. Now that we support range select, we should use it for handling reverts.
Additional context
Currently if you try to revert an individual merge commit, you're asked to select a parent commit for the revert. When we're dealing with a range, the range could include multiple merge commits it's not clear to me what we should do in that situation. As such, for now let's just not support reverting a range of commits which includes merge commits (via GetDisabledReason).