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

Add beforeCommit hook #678

Open
zxch3n opened this issue Mar 4, 2025 · 0 comments
Open

Add beforeCommit hook #678

zxch3n opened this issue Mar 4, 2025 · 0 comments
Labels
dx Dev Experience enhancement New feature or request

Comments

@zxch3n
Copy link
Member

zxch3n commented Mar 4, 2025

It allows users to change the commit options before each commit.

Because doc.commit() is invoked implicitly in many different places like doc.import, doc.export, doc.checkout, doc.exportJsonUpdates, etc.. If users want to attach a custom message for each commit, they may miss a few places where an implicit commit happens.

@zxch3n zxch3n added enhancement New feature or request dx Dev Experience labels Mar 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dx Dev Experience enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant