@@ -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() {