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

Run the COMMIT_EDITMSG editor from git-z #28

Open
ejpcmac opened this issue Aug 27, 2024 · 0 comments
Open

Run the COMMIT_EDITMSG editor from git-z #28

ejpcmac opened this issue Aug 27, 2024 · 0 comments
Labels
A:C-commit Area: git z commit T:Change Type: Change request

Comments

@ejpcmac
Copy link
Owner

ejpcmac commented Aug 27, 2024

Rationale

To solve #27 and run commit-msg from git z commit, we need a way to actually run the hook after the user has edited the message, but before git commit is called. This means calling the editor from git z commit instead of git commit.

Concept

Let’s let the user edit the commit message before calling git commit, and ask git commit not to edit the message.

@ejpcmac ejpcmac added A:C-commit Area: git z commit T:Change Type: Change request labels Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A:C-commit Area: git z commit T:Change Type: Change request
Projects
Status: Backlog
Development

No branches or pull requests

1 participant