forked from mirrors/jj
cli_util: rename commit_working_copy()
to snapshot_working_copy()
This commit is contained in:
parent
b0a6493d20
commit
6b7f8e5eab
1 changed files with 2 additions and 2 deletions
|
@ -512,7 +512,7 @@ impl WorkspaceCommandHelper {
|
|||
let maybe_git_repo = self.repo.store().git_repo();
|
||||
self.import_git_refs_and_head(ui, maybe_git_repo.as_ref().unwrap())?;
|
||||
}
|
||||
self.commit_working_copy(ui)?;
|
||||
self.snapshot_working_copy(ui)?;
|
||||
}
|
||||
Ok(())
|
||||
}
|
||||
|
@ -818,7 +818,7 @@ impl WorkspaceCommandHelper {
|
|||
Ok(())
|
||||
}
|
||||
|
||||
pub fn commit_working_copy(&mut self, ui: &mut Ui) -> Result<(), CommandError> {
|
||||
pub fn snapshot_working_copy(&mut self, ui: &mut Ui) -> Result<(), CommandError> {
|
||||
let repo = self.repo.clone();
|
||||
let workspace_id = self.workspace_id().to_owned();
|
||||
let wc_commit_id = match repo.view().get_wc_commit_id(&workspace_id) {
|
||||
|
|
Loading…
Reference in a new issue