aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/vcs.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/vcs.rs b/src/vcs.rs
index 5cdce31..aee4144 100644
--- a/src/vcs.rs
+++ b/src/vcs.rs
@@ -74,10 +74,7 @@ pub fn vcs_status() -> Option<(colored::ColoredString, colored::ColoredString)>
74 repo_stat = stat_char.color(&git_index_modified_color[..]); 74 repo_stat = stat_char.color(&git_index_modified_color[..]);
75 }, 75 },
76 // STATE: committed (changes have been saved in the repo) 76 // STATE: committed (changes have been saved in the repo)
77 _ => { 77 _ => { }
78 let stat_char = env::var("GIT_CLEAN").unwrap_or("ยท".into());
79 repo_stat = stat_char.color(&git_clean_color[..]);
80 }
81 } 78 }
82 } 79 }
83 return Some((branch, repo_stat)) 80 return Some((branch, repo_stat))