Skip to content

Commit

Permalink
cli: fix a few references to "legacy" as default graph style
Browse files Browse the repository at this point in the history
The "curved" style has been the default for a long time now.
  • Loading branch information
martinvonz committed Feb 12, 2024
1 parent 48a9f9e commit 0a63206
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions cli/src/config-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
"ascii",
"ascii-large"
],
"default": "legacy"
"default": "curved"
}
}
},
Expand Down Expand Up @@ -382,4 +382,4 @@
}
}
}
}
}
2 changes: 1 addition & 1 deletion cli/tests/test_log_command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1147,7 +1147,7 @@ fn test_graph_styles() {
&["new", "-m", "merge", r#"description("main branch 1")"#, "@"],
);

// Default (legacy) style
// Default (curved) style
let stdout = test_env.jj_cmd_success(&repo_path, &["log", "-T=description"]);
insta::assert_snapshot!(stdout, @r###"
@ merge
Expand Down

0 comments on commit 0a63206

Please sign in to comment.