summaryrefslogtreecommitdiff
path: root/src/git.rs
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-04-21 08:20:43 +0300
committerLars Wirzenius <liw@liw.fi>2021-04-21 09:24:01 +0300
commitafc842c9025e33f2e25716d80ecac07117766457 (patch)
treec0c563d80cb5d190e5afbd09704055db7ad4a1c1 /src/git.rs
parent50258196ee8832ca8d9f02e73babb431248ed025 (diff)
downloadbumper-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.rs4
1 files changed, 2 insertions, 2 deletions
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<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)