Re: [PATCH] commit: cope with scissors lines in commit message

2015-06-08 Thread SZEDER Gábor
Quoting Junio C Hamano : SZEDER Gábor writes: The diff and submodule shortlog appended to the commit message template by 'git commit --verbose' are not stripped when the commit message contains an indented scissors line. When cleaning up a commit message with 'git commit --verbose' or '--cl

Re: [PATCH] commit: cope with scissors lines in commit message

2015-06-08 Thread Junio C Hamano
SZEDER Gábor writes: > The diff and submodule shortlog appended to the commit message template > by 'git commit --verbose' are not stripped when the commit message > contains an indented scissors line. > > When cleaning up a commit message with 'git commit --verbose' or > '--cleanup=scissors' the

[PATCH] commit: cope with scissors lines in commit message

2015-06-07 Thread SZEDER Gábor
The diff and submodule shortlog appended to the commit message template by 'git commit --verbose' are not stripped when the commit message contains an indented scissors line. When cleaning up a commit message with 'git commit --verbose' or '--cleanup=scissors' the code is careful and triggers only