To use the template, see the comments in the file.
- Group Reviewers
- rP457790: Add a commit template for git commit logs
|38–54 ↗||(On Diff #37267)|
I assumed this was (only) implemented in the svn clients we use, based on cleanmsg().
In any case, one first has to commit to git. Would it not be nice for empty fields to be cleaned automatically for the git commits?
There is no such thing as a "git commit". Commits in git repositories are only transient, and they only last as long as it takes you to commit them to the Subversion repository.
Commit messages are cleaned up by svnadmin/hooks/scripts/log-police.py. So, really, I see no reason to clobber the template with 2. and after.
This was not really intended. It would only let me git dcommit after git svn propset.., which adds a line to .gitattributes.
Shall I remove the line?
Mmmm, I think you should commit it with svn directly, I don't see a good way to do it with git without this spam here :/
(Also, try not to add stuff to ~/.subversion/config, it only mostly confuses things.)