ok/jj
1
0
Fork 0
forked from mirrors/jj

workspace: fix repository path in init_internal_git() doc comment

Also rephrased "Git backend" as "Git repo" since the new backend storage will
be created.
This commit is contained in:
Yuya Nishihara 2023-11-03 21:24:55 +09:00
parent 2401bf9bcd
commit c866b4a42d

View file

@ -149,8 +149,8 @@ impl Workspace {
Self::init_with_backend(user_settings, workspace_root, backend_initializer)
}
/// Initializes a workspace with a new Git backend in .jj/git/ (bare Git
/// repo)
/// Initializes a workspace with a new Git backend and bare Git repo in
/// `.jj/repo/store/git`.
pub fn init_internal_git(
user_settings: &UserSettings,
workspace_root: &Path,
@ -160,8 +160,7 @@ impl Workspace {
Self::init_with_backend(user_settings, workspace_root, backend_initializer)
}
/// Initializes a workspace with an existing Git backend at the specified
/// path
/// Initializes a workspace with an existing Git repo at the specified path.
pub fn init_external_git(
user_settings: &UserSettings,
workspace_root: &Path,