Skip to content

FR: jj resolve should affirmatively report whether conflicts in the parent were resolved #5188

Open
@davidbarsky

Description

@davidbarsky

Is your feature request related to a problem? Please describe.
When using jj resolve, I'd find it to be extremely helpful if jj resolve affirmatively reported whether all conflicts in the parent commit were resolved. Today, it only reports whether there are any remaining conflicts, which leads me to second-guess myself and run jj st.

Describe the solution you'd like
jj resolve should print additional context about the working copy's conflict resolution state. For example, if a jj resolve command completes successfully and no more conflicts remain, jj resolve should write "Conflict in parent commit has been resolved in working copy" as jj status does.

Describe alternatives you've considered

  • I currently run run jj st after a jj resolve, which works, but it's an additional command.
  • I could probably setup my shell prompt to report on any remaining conflicts, but I'm lazy and forgot to do a similar integration with Sapling. I'll probably do this after I'm done writing this issue.
  • A richer GUI integration with jj could probably also report this state to me, but I haven't bothered using any yet.

Additional context

A screenshot of a successful `jj resolve --tool vscode` and a `jj st` that ran immediately after which reports "Conflict in parent commit has been resolved in working copy". Screenshot 2024-12-24 at 1 28 35 PM

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions