summaryrefslogtreecommitdiffstats
path: root/src/output
diff options
context:
space:
mode:
authorBen S <ogham@bsago.me>2015-05-12 03:34:52 +0100
committerBen S <ogham@bsago.me>2015-05-12 03:34:52 +0100
commite2f2bd69de32afc82c35a313aa17e5a2218d35f3 (patch)
tree826fee9a26d51ffa4f10364ec5d4dbef5860ebbc /src/output
parent085067d18ed9004a2c6112def1f916a4b70084b5 (diff)
Fix Git colours to be actually correct
Diffstat (limited to 'src/output')
-rw-r--r--src/output/details.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/output/details.rs b/src/output/details.rs
index 50b57ae..7708084 100644
--- a/src/output/details.rs
+++ b/src/output/details.rs
@@ -296,11 +296,11 @@ impl Table {
let render_char = |chr| {
match chr {
f::GitStatus::NotModified => self.colours.punctuation.paint("-"),
- f::GitStatus::New => self.colours.git.renamed.paint("N"),
- f::GitStatus::Modified => self.colours.git.renamed.paint("M"),
- f::GitStatus::Deleted => self.colours.git.renamed.paint("D"),
+ f::GitStatus::New => self.colours.git.new.paint("N"),
+ f::GitStatus::Modified => self.colours.git.modified.paint("M"),
+ f::GitStatus::Deleted => self.colours.git.deleted.paint("D"),
f::GitStatus::Renamed => self.colours.git.renamed.paint("R"),
- f::GitStatus::TypeChange => self.colours.git.renamed.paint("T"),
+ f::GitStatus::TypeChange => self.colours.git.typechange.paint("T"),
}
};