-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
01c14bd
commit 63008c9
Showing
1 changed file
with
8 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -375,10 +375,15 @@ fn fetch_and_checkout(repo: &mut gix::Repository) -> anyhow::Result<()> { | |
config | ||
.set_raw_value("committer", None, "name", "cargo-deny") | ||
.context("failed to set committer.name")?; | ||
// config | ||
// .set_raw_value("committer", None, "email", "[email protected]").context("failed to set committer.email");5 | ||
// Note we _have_ to set the email as well, but luckily gix does not actually | ||
// validate if it's a proper email or not :) | ||
config | ||
.set_raw_value("committer", None, "email", "") | ||
.context("failed to set committer.email")?; | ||
|
||
config.commit_auto_rollback().unwrap() | ||
config | ||
.commit_auto_rollback() | ||
.context("failed to create auto rollback")? | ||
}; | ||
|
||
repo.edit_reference(edit).context("failed to update HEAD")?; | ||
|