From e03bb929057bf36137ad85b2dff2611f30cf4433 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Lehmann?= Date: Wed, 8 Oct 2025 22:59:06 +0200 Subject: [PATCH 1/4] op log: -G as short version of --no-graph To be consistent with `jj log -G`. --- cli/src/commands/operation/log.rs | 2 +- cli/tests/cli-reference@.md.snap | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/src/commands/operation/log.rs b/cli/src/commands/operation/log.rs index 9b50d9df7c0..c20850547ac 100644 --- a/cli/src/commands/operation/log.rs +++ b/cli/src/commands/operation/log.rs @@ -57,7 +57,7 @@ pub struct OperationLogArgs { #[arg(long)] reversed: bool, /// Don't show the graph, show a flat list of operations - #[arg(long)] + #[arg(long, short = 'G')] no_graph: bool, /// Render each operation using the given template /// diff --git a/cli/tests/cli-reference@.md.snap b/cli/tests/cli-reference@.md.snap index 7e93bde9dfa..efadbdb20b7 100644 --- a/cli/tests/cli-reference@.md.snap +++ b/cli/tests/cli-reference@.md.snap @@ -1958,7 +1958,7 @@ Like other commands, `jj op log` snapshots the current working-copy changes and Applied after operations are reordered topologically, but before being reversed. * `--reversed` — Show operations in the opposite order (older operations first) -* `--no-graph` — Don't show the graph, show a flat list of operations +* `-G`, `--no-graph` — Don't show the graph, show a flat list of operations * `-T`, `--template