diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-04-21 08:20:43 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-04-21 09:24:01 +0300 |
commit | afc842c9025e33f2e25716d80ecac07117766457 (patch) | |
tree | c0c563d80cb5d190e5afbd09704055db7ad4a1c1 /src/git.rs | |
parent | 50258196ee8832ca8d9f02e73babb431248ed025 (diff) | |
download | bumper-rs-afc842c9025e33f2e25716d80ecac07117766457.tar.gz |
refactor: make logging and messages more consistent
Also, report the Debian package version correctly, not just the
upstream part.
Diffstat (limited to 'src/git.rs')
-rw-r--r-- | src/git.rs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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<P: AsRef<Path>>(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) |