Skip to content

jj log returns non-zero exit status #7822

@zorgiepoo

Description

@zorgiepoo

Description

Steps to Reproduce the Problem

  1. Run jj log in a git colocated repo

Expected Behavior

jj log returns exit status of 0

Actual Behavior

I've always seen it return a non-zero exit status, I think it's always 3. Fairly sure I've seen this across multiple machines / projects. I use fish shell and it makes it very noticeable by showing a bright red [3] notice every time I run this command. But I can reproduce in bash too if I echo $?.

I didn't find anything in jj log --help about the exit status used.

Specifications

  • Platform: macOS 26.0.1 (25A362)
  • Version: jj 0.34.0

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