Skip to content
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

feat: add option to overwrite existing git-hooks #320

Merged
merged 2 commits into from
Oct 5, 2023

Conversation

marcbull
Copy link
Contributor

This PR adds a command line option to overwrite existing git-hooks for the install-hook command, as requested in #299.

@codecov
Copy link

codecov bot commented Sep 28, 2023

Codecov Report

Merging #320 (dd344df) into main (5b34ee4) will increase coverage by 0.20%.
The diff coverage is 92.95%.

@@            Coverage Diff             @@
##             main     #320      +/-   ##
==========================================
+ Coverage   85.29%   85.49%   +0.20%     
==========================================
  Files          45       45              
  Lines        6283     6344      +61     
==========================================
+ Hits         5359     5424      +65     
+ Misses        924      920       -4     
Files Coverage Δ
src/command/git_hooks.rs 100.00% <100.00%> (ø)
src/git/hook.rs 99.34% <100.00%> (+9.44%) ⬆️
src/bin/cog/main.rs 51.91% <0.00%> (-0.47%) ⬇️

... and 1 file with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@cocogitto-bot
Copy link

cocogitto-bot bot commented Sep 28, 2023

✔️ 22b8cac...dd344df - Conventional commits check succeeded.

@oknozor oknozor merged commit b471cac into cocogitto:main Oct 5, 2023
4 checks passed
@oknozor
Copy link
Collaborator

oknozor commented Oct 5, 2023

kudos @marcbull !

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.

None yet

2 participants