From afc842c9025e33f2e25716d80ecac07117766457 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Wed, 21 Apr 2021 08:20:43 +0300 Subject: refactor: make logging and messages more consistent Also, report the Debian package version correctly, not just the upstream part. --- src/git.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/git.rs') diff --git a/src/git.rs b/src/git.rs index 563afa1..ea640d6 100644 --- a/src/git.rs +++ b/src/git.rs @@ -1,5 +1,5 @@ use crate::errors::BumperError; -use log::{debug, info}; +use log::debug; use std::path::Path; use std::process::Command; @@ -16,7 +16,7 @@ pub fn commit>(dirname: P, msg: &str) -> Result<(), BumperError> } fn git(dirname: &Path, args: &[&str]) -> Result<(), BumperError> { - info!("git {:?} in {}", args, dirname.display()); + debug!("git {:?} in {}", args, dirname.display()); let output = Command::new("git") .args(args) .current_dir(dirname) -- cgit v1.2.1