Skip to content

Commit

Permalink
Fixed coloring bug
Browse files Browse the repository at this point in the history
  • Loading branch information
saschagrunert committed Jul 2, 2017
1 parent 851e6ae commit c9dee69
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "git-journal"
version = "1.6.0"
version = "1.6.1"
license = "MIT"
readme = "README.md"
keywords = ["parser", "git", "log", "changelog", "journal"]
Expand Down
8 changes: 6 additions & 2 deletions src/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,9 @@ impl Print for SummaryElement {
write!(t, " ({:.7})", oid)?;
}
}
c3(t)?;
if config.colored_output {
c3(t)?;
}
}
Ok(Printed::Something)
}
Expand Down Expand Up @@ -668,7 +670,9 @@ impl Print for ListElement {
write!(t, " ({:.7})", oid)?;
}
}
c3(t)?;
if config.colored_output {
c3(t)?;
}
}

Ok(Printed::Something)
Expand Down

0 comments on commit c9dee69

Please sign in to comment.