Skip to content

FR: Rebasing onto an existing file could warn the user #9269

@jacobat

Description

@jacobat

Is your feature request related to a problem? Please describe.

I had accidentally added an empty file in a commit (A). In parallel I had another commit (B) where I had added the same file with some content. So a graph like:

A B
|/
C

I now try to rebase B onto A. This leads me to a conflict, because both A and B are adding the same file. Using the built in resolver is slightly confusing though as it doesn't allow you to do anything.

Describe the solution you'd like

It would be nice if the resolve tool would somehow indicate that the conflict relates to an empty file and make it possible to resolve it by ignoring the empty file for instance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    scm-recordIssues relating to the scm-record library, used as the default interactive diff/merge editor.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions