diff options
Diffstat (limited to 'src/vcs.rs')
-rw-r--r-- | src/vcs.rs | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -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)) |