summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Bartlensky <bartlensky.robert@gmail.com>2023-07-16 22:38:01 +0100
committerRobert Bartlensky <bartlensky.robert@gmail.com>2023-07-25 22:38:59 +0100
commite16fcff80e899aefbe942e8ee206e2d4cc8bf579 (patch)
treee4666ab95d66e9eecb9c1db76741d2a92d9a9a4c
parent88928cd849b29ea7c83e3a7d6588609ff945f72c (diff)
Add some `cargo-fmt` changes.
-rw-r--r--src/lib.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index f112904..c61f997 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -180,7 +180,10 @@ fn run_with_repo(config: &Config, repo: &git2::Repository) -> Result<()> {
// cases, might be helpful to just match the first commit touching the same
// file as the current hunk. Use this option with care!
if config.whole_file {
- debug!(c_logger, "Commit touches the hunk file and match whole file is enabled");
+ debug!(
+ c_logger,
+ "Commit touches the hunk file and match whole file is enabled"
+ );
dest_commit = Some(commit);
break 'commit;
}