Show project name when editing COMMIT_EDITMSG #24
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description of changes
Show the project name when editing a COMMIT_EDITMSG file. Formerly, we
changed the working directory to the path of the file being edited,
which is undesirable when committing changes on a project tracked in Git.
Relevant Issues
N/A
CC Maintainers
@IogaMaster
Addendum:
I'm not sure if this change is also desirable—I'm fine with maintaining
my own patchset if it isn't accepted by the general userbase.
There's still a warning emitted by luacheck, but it isn't relevant to
this change, therefore I didn't bother to fix it, though it seems to be
rather trivial.