Re: [PATCH 3/3] commit.c: skip scissors when computing trailers

2017-05-12 Thread Jeff King
On Thu, May 11, 2017 at 10:03:47PM -0700, Brian Malehorn wrote: > "scissors" ("- >8 -") can be automatically added to commit > messages by setting commit.verbose = true. Prevent this from interfering > with trailer calculations by automatically skipping over scissors, > instead of (usually

[PATCH 3/3] commit.c: skip scissors when computing trailers

2017-05-11 Thread Brian Malehorn
"scissors" ("- >8 -") can be automatically added to commit messages by setting commit.verbose = true. Prevent this from interfering with trailer calculations by automatically skipping over scissors, instead of (usually) treating them as a comment. --- commit.c | 13 +++