Check for submodule updates right after first clone
This commit is contained in:
parent
250e4372c4
commit
697173bb81
|
@ -68,11 +68,15 @@ fn main() -> Result<(), std::io::Error> {
|
|||
// Skip further processing
|
||||
continue;
|
||||
}
|
||||
// New repo just cloned
|
||||
// TODO: submodule and submodule updates
|
||||
|
||||
// New repo just cloned. Check for submodule updates
|
||||
cd(&source_dir).expect("Failed to change working dir");
|
||||
if task.subupdates {
|
||||
let _had_subupdates = repo.subupdate();
|
||||
}
|
||||
|
||||
// Checkout specific branch?
|
||||
// TODO: To avoid submodule inconsistencies between branches, we should directly clone a specific branch
|
||||
task.checkout();
|
||||
task.run();
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue