Fixed missing quote in "jj config set" help

This commit is contained in:
Benjamin Brittain 2023-08-16 08:45:24 -04:00
parent 9ba9ecd708
commit 313670d3c2
2 changed files with 3 additions and 3 deletions

View file

@ -1403,7 +1403,7 @@ See https://github.com/martinvonz/jj/blob/main/docs/working-copy.md#stale-workin
ui.warning(),
r#"Name and email not configured. Until configured, your commits will be created with the empty identity, and can't be pushed to remotes. To configure, run:
jj config set --user user.name "Some One"
jj config set --user user.email someone@example.com""#
jj config set --user user.email "someone@example.com""#
)?;
}
Ok(())

View file

@ -391,7 +391,7 @@ fn test_no_user_configured() {
insta::assert_snapshot!(get_stderr_string(&assert), @r###"
Name and email not configured. Until configured, your commits will be created with the empty identity, and can't be pushed to remotes. To configure, run:
jj config set --user user.name "Some One"
jj config set --user user.email someone@example.com"
jj config set --user user.email "someone@example.com"
"###);
let assert = test_env
.jj_cmd(&repo_path, &["describe", "-m", "without email"])
@ -401,7 +401,7 @@ fn test_no_user_configured() {
insta::assert_snapshot!(get_stderr_string(&assert), @r###"
Name and email not configured. Until configured, your commits will be created with the empty identity, and can't be pushed to remotes. To configure, run:
jj config set --user user.name "Some One"
jj config set --user user.email someone@example.com"
jj config set --user user.email "someone@example.com"
"###);
}