Skip to content

feat(config): add OCO_HOOK_AUTO_UNCOMMENT config key and update commit message hook behavior to conditionally uncomment the message #494

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

PhantasWeng
Copy link
Contributor

@PhantasWeng PhantasWeng commented Jul 8, 2025

Add the key OCO_HOOK_AUTO_UNCOMMENT in the config, with a default value of false.

OCO_HOOK_AUTO_UNCOMMENT The default state of the editor message message
true The message is uncommented. Only the message is inserted.
false The message is commented. Including user introduction

Due to the addition of prettier tests, the existing style errors have also been corrected.

@PhantasWeng PhantasWeng marked this pull request as ready for review July 8, 2025 09:29
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.

1 participant