Skip to content

Conversation

@mdespeuilles
Copy link
Contributor

commit.ts : Remove messageTemplate from extraArgs to prevent git Error to fix this bug :

#278

extraArgs contains all git extra flag but also the user custom message when use $msg.

For exemple oco '#11 $msg' return a bad git command

git commit -m #11 generated_message #11 $msg

This fix change remove the template message from extraArgs to generate this correct command :

git commit -m #11 generated_message

@mdespeuilles mdespeuilles changed the title (fix cimmit.ts) Remove messageTemplate from extraArgs to prevent git Error (fix commit.ts) Remove messageTemplate from extraArgs to prevent git Error Nov 20, 2023
@github-actions
Copy link

Stale pull request message

@mtane0412
Copy link

@di-sukharev
I face the same problem and really need this PR.

1 similar comment
@sirproton
Copy link

@di-sukharev
I face the same problem and really need this PR.

@di-sukharev di-sukharev reopened this Feb 28, 2024
@di-sukharev di-sukharev changed the base branch from master to dev March 3, 2024 11:56
@di-sukharev di-sukharev merged commit 7dd8094 into di-sukharev:dev Mar 3, 2024
@di-sukharev
Copy link
Owner

di-sukharev commented Mar 3, 2024

thank you @mdespeuilles <3 <3 <3

@di-sukharev
Copy link
Owner

update to npm i -g opencommit@latest

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.

4 participants