on master help sign in
Add annotations again
commit5fe8a8342b8550eca8b8a923c81fb7af9754647b authorsharkdp <davidpeter@web.de> dateFri 24 Apr 2020, 16:51 (7 years ago) parent9891091
2 files changed+2
src/controller.rs+1 src/printer.rs+1
src/controller.rs+1
@@ -138,6 +138,7 @@ impl<'b> Controller<'b> {
138138 printer: &mut dyn Printer,
139139 writer: &mut dyn Write,
140140 input: &mut OpenedInput,
141+ #[cfg(feature = "git")]
141142 line_changes: &Option<LineChanges>,
142143 ) -> Result<()> {
143144 if !input.reader.first_line.is_empty() || self.config.style_components.header() {
src/printer.rs+1
@@ -101,6 +101,7 @@ impl<'a> InteractivePrinter<'a> {
101101 config: &'a Config,
102102 assets: &'a HighlightingAssets,
103103 input: &mut OpenedInput,
104+ #[cfg(feature = "git")]
104105 line_changes: &'a Option<LineChanges>,
105106 ) -> Self {
106107 let theme = assets.get_theme(&config.theme);