mirror of
https://github.com/martinvonz/jj.git
synced 2025-01-15 08:53:16 +00:00
cli: suggest "jj git init" if workspace looks like a plain git repo
This commit is contained in:
parent
1be8225046
commit
3e72c43970
2 changed files with 2 additions and 2 deletions
|
@ -1882,7 +1882,7 @@ fn map_workspace_load_error(err: WorkspaceLoadError, workspace_path: Option<&str
|
|||
message,
|
||||
"It looks like this is a git repo. You can create a jj repo backed by it by \
|
||||
running this:
|
||||
jj init --git-repo=.",
|
||||
jj git init --git-repo=.",
|
||||
)
|
||||
} else {
|
||||
user_error(message)
|
||||
|
|
|
@ -210,7 +210,7 @@ fn test_no_workspace_directory() {
|
|||
insta::assert_snapshot!(stderr, @r###"
|
||||
Error: There is no jj repo in "."
|
||||
Hint: It looks like this is a git repo. You can create a jj repo backed by it by running this:
|
||||
jj init --git-repo=.
|
||||
jj git init --git-repo=.
|
||||
"###);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue