Skip to content

feat(hook): Simplify transaction management #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 14, 2022

Conversation

epage
Copy link
Contributor

@epage epage commented Mar 14, 2022

No description provided.

@epage epage merged commit ceaf0dc into gitext-rs:main Mar 14, 2022
@epage epage deleted the transaction branch March 14, 2022 18:01
Comment on lines +137 to +140
Ok(code) if code != 0 => {
log::trace!("Hook `{}` failed with code {}", name, code);
}
Ok(_) => {}
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Ok(code) if code != 0 => {
log::trace!("Hook `{}` failed with code {}", name, code);
}
Ok(_) => {}
Ok(0) => {}
Ok(code) => {
log::trace!("Hook `{}` failed with code {}", name, code);
}

Likewise below.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See #6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants