Skip to content

Commit 3ec7b2e

Browse files
authored
Merge branch 'master' into use-gitoxide-for-branches
2 parents 80c98b3 + f5893d9 commit 3ec7b2e

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

.github/dependabot.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,11 @@ updates:
66
interval: daily
77
open-pull-requests-limit: 10
88
groups:
9-
cargo:
9+
cargo-minor:
1010
patterns: ["*"]
11+
update-types:
12+
- 'minor'
13+
cargo-patch:
14+
patterns: ["*"]
15+
update-types:
16+
- 'patch'

git2-hooks/src/hookspath.rs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,11 @@ impl HookPaths {
146146
S: AsRef<OsStr>,
147147
{
148148
let hook = self.hook.clone();
149-
log::trace!("run hook '{:?}' in '{:?}'", hook, self.pwd);
149+
log::trace!(
150+
"run hook '{}' in '{}'",
151+
hook.display(),
152+
self.pwd.display()
153+
);
150154

151155
let run_command = |command: &mut Command| {
152156
command
@@ -250,7 +254,7 @@ fn is_executable(path: &Path) -> bool {
250254
let metadata = match path.metadata() {
251255
Ok(metadata) => metadata,
252256
Err(e) => {
253-
log::error!("metadata error: {}", e);
257+
log::error!("metadata error: {e}");
254258
return false;
255259
}
256260
};

0 commit comments

Comments
 (0)