mirror of
https://github.com/git/git.git
synced 2024-11-01 14:57:52 +01: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>
8 lines
76 B
Bash
Executable file
8 lines
76 B
Bash
Executable file
#!/bin/sh
|
|
sed -e 's/|$//' >>"$1" <<\EOF
|
|
|
|
|
|
|
commit message |
|
|
|
|
EOF
|
|
exit 0
|