mirror of
https://github.com/jj-vcs/jj.git
synced 2025-12-23 06:01:01 +00:00
Fixed missing quote in "jj config set" help
This commit is contained in:
parent
9ba9ecd708
commit
313670d3c2
2 changed files with 3 additions and 3 deletions
|
|
@ -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(())
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
"###);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue