Shorten report for unchanged repo

This commit is contained in:
2021-11-20 18:03:40 +01:00
parent 5f98061581
commit 5df6dcb053

View File

@@ -387,7 +387,7 @@ fn add_repo_status(table: &mut Table, repo_name: &str, repo_handle: &git2::Repos
} }
out.into_iter().collect::<String>().trim().to_string() out.into_iter().collect::<String>().trim().to_string()
}, },
None => String::from("No changes"), None => String::from("\u{2714}"),
}, },
&repo_status.branches.iter().map(|(branch_name, remote_branch)| { &repo_status.branches.iter().map(|(branch_name, remote_branch)| {
format!("branch: {}{}\n", format!("branch: {}{}\n",