cli: wire shelve flag; more clippy fixes
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I694da71afe93bcb33687ff7d8e75f04f6a6a6964
This commit is contained in:
parent
1db1d4d6d2
commit
e01313066d
4 changed files with 19 additions and 17 deletions
|
|
@ -211,13 +211,12 @@ fn execute_init(
|
|||
.args(["log", "--limit", "1", "--template", ""])
|
||||
.current_dir(path)
|
||||
.output()
|
||||
&& !output.stdout.is_empty()
|
||||
{
|
||||
if !output.stdout.is_empty() {
|
||||
println!(
|
||||
"Note: Jujutsu repository detected. Make sure to run 'jj git \
|
||||
push' to sync changes with remote if needed."
|
||||
);
|
||||
}
|
||||
println!(
|
||||
"Note: Jujutsu repository detected. Make sure to run 'jj git \
|
||||
push' to sync changes with remote if needed."
|
||||
);
|
||||
}
|
||||
},
|
||||
VcsType::None => {
|
||||
|
|
@ -256,7 +255,7 @@ fn execute_init(
|
|||
local_config.parent_config_hash = Some(config_hash);
|
||||
}
|
||||
|
||||
// Now clone from the local path into .pakku/parent — this avoids
|
||||
// Now clone from the local path into .pakku/parent, this avoids
|
||||
// re-downloading objects
|
||||
let parent_path = Path::new(&parent_path_str);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue