Disabling git should not pull any repository (fix #158)

This commit is contained in:
Roey Darwish Dror
2019-07-01 09:20:48 +03:00
parent 85c483d01a
commit b2fd600f0d
2 changed files with 7 additions and 7 deletions

View File

@@ -37,7 +37,7 @@ lazy_static! {
pub enum Step { pub enum Step {
/// Don't perform system upgrade /// Don't perform system upgrade
System, System,
/// Don't perform updates on configured git repos /// Don't pull git repositories
GitRepos, GitRepos,
/// Don't upgrade Vim packages or configuration files /// Don't upgrade Vim packages or configuration files
Vim, Vim,

View File

@@ -243,13 +243,13 @@ fn run() -> Result<(), Error> {
git_repos.insert(git_repo); 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)] #[cfg(windows)]
{ {