mirror of
https://github.com/git/git.git
synced 2024-12-18 06:14:59 +08:00
8b1ae678a3
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
|