mirror of
https://github.com/git/git
synced 2024-08-26 19:19:18 +00:00
![Boris Faure](/assets/img/avatar_default.png)
Templates should be just that: A form that the user fills out, and forms have blanks. If people are attached to not having extra whitespace in the editor, they can simply clean up their templates. Added test with editor adding even more whitespace. Signed-off-by: Boris Faure <billiob@gmail.com> Based-on-patch-by:Sebastian Schuberth <sschuberth@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
9 lines
76 B
Bash
Executable file
9 lines
76 B
Bash
Executable file
#!/bin/sh
|
|
sed -e 's/|$//' >>"$1" <<\EOF
|
|
|
|
|
|
|
commit message |
|
|
|
|
EOF
|
|
exit 0
|