jj-vcs/jj

FR: have a redacted version for `jj op log -d`

Open

#9375 opened on Apr 24, 2026

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Rust (28,830 stars) (1,052 forks)batch import
good first issuepolish🪒🐃

Description

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

As https://github.com/jj-vcs/jj/pull/9374 points out, we currently have an option to make a nice redacted log with jj log -T builtin_log_redacted and jj op log -T builtin_op_log_redacted.

However, if you do jj op log -T builtin_op_log_redacted -d, the "Changed commits" section of the output is not redacted.

Describe the solution you'd like Ideally, the "changed commits" section would be redacted in the same way as jj log -T builtin_log_redacted. Then, we could ask that people send in this information.

Describe alternatives you've considered I am not sure how hard this is, it could be near-trivial if the "Changed commits" section is already templated, or hard if we want to have a modular system of applying regular log templates to the op log.

Additional context I'm marking this as a "good first issue" to go at least as far as figuring out how hard this is. If it's hard, we might want to remove the label (Feel free to remove the label for me; I'd put the label up tomorrow if I was sure I'd remember to, but I'm not so I'm doing it now)

Cc: #9372 (tangentially related)

Contributor guide