Disabling git should not pull any repository (fix #158)
This commit is contained in:
@@ -37,7 +37,7 @@ lazy_static! {
|
||||
pub enum Step {
|
||||
/// Don't perform system upgrade
|
||||
System,
|
||||
/// Don't perform updates on configured git repos
|
||||
/// Don't pull git repositories
|
||||
GitRepos,
|
||||
/// Don't upgrade Vim packages or configuration files
|
||||
Vim,
|
||||
|
||||
12
src/main.rs
12
src/main.rs
@@ -243,13 +243,13 @@ fn run() -> Result<(), Error> {
|
||||
git_repos.insert(git_repo);
|
||||
}
|
||||
}
|
||||
execute(
|
||||
&mut report,
|
||||
"Git repositories",
|
||||
|| git.multi_pull(&git_repos, run_type),
|
||||
config.no_retry(),
|
||||
)?;
|
||||
}
|
||||
execute(
|
||||
&mut report,
|
||||
"Git repositories",
|
||||
|| git.multi_pull(&git_repos, run_type),
|
||||
config.no_retry(),
|
||||
)?;
|
||||
|
||||
#[cfg(windows)]
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user