auto-commit-msg icon indicating copy to clipboard operation
auto-commit-msg copied to clipboard

Respect commit message template

Open MichaelCurrin opened this issue 5 years ago • 1 comments

This is something part of standard git hook for commit message, where a check is done to see if the message comes from a template.

If this is not possible, then just read the actual value of commit.template e.g. _COMMIT_MESSAGE and use that as a prefix.

This is useful as a simple alternative to reading from the branch name (which is covered by the git-prefix extension already). And allows manually entering a ticket message or project name that is not based on branch name.

There is a low priority issue though

MichaelCurrin avatar Aug 12 '20 18:08 MichaelCurrin

Using a configurable value in the admin for this extension would work as well - it is weird to set a prefix in settings.json which shouldn't be versioned and it's only respected in the extension unlike the main commit.template

MichaelCurrin avatar Aug 12 '20 20:08 MichaelCurrin