This repository has been archived by the owner on Dec 30, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Load a commit.template message if one is configured (gitui-org#546)
If a commit message template is set with... git config commit.template /path/to/some/file.txt ...this fills the commit message box (and therefore, later, the external editor) with the contents of that file, as long as you don't have something more interesting typed there already. Like the `git commit` command, this doesn't let you create a commit that has just the template as its message, unchanged. Unlike the `git commit` command, not being able to read the template file is not fatal: specifically, if the commit.template setting is pointed at a file that does not exist, this does nothing. Resolves gitui-org#546.
- Loading branch information