fix uncommited line output

master
Aleš Katona 2 years ago
parent a4da01ac39
commit f04b767a4d
Signed by: almindor
GPG Key ID: 2F773149BF38B48F

@ -106,11 +106,12 @@ impl Vcs {
let mut once = true;
for project in &self.projects {
if !project.repo.uncommitted_changes()?.is_empty() {
if once {
println!("\n{}\n", "** Projects with uncommitted changes **".italic());
once = false;
}
if !project.repo.uncommitted_changes()?.is_empty() {
println!(
"{}",
project.display(ProjectDisplayOptions::Changes.into())?

Loading…
Cancel
Save