Re: [PATCH 3/3] commit: add --cleanup=scissors

2014-02-15 Thread Eric Sunshine
On Sat, Feb 15, 2014 at 10:37 PM, Nguyễn Thái Ngọc Duy wrote: > Since 1a72cfd (commit -v: strip diffs and submodule shortlogs from the > commit message - 2013-12-05) we have a less fragile way to cut out > "git status" at the end of a commit message but it's only enabled for > stripping submodule

[PATCH 3/3] commit: add --cleanup=scissors

2014-02-15 Thread Nguyễn Thái Ngọc Duy
Since 1a72cfd (commit -v: strip diffs and submodule shortlogs from the commit message - 2013-12-05) we have a less fragile way to cut out "git status" at the end of a commit message but it's only enabled for stripping submodule shortlogs. Add new cleanup option that reuses the same mechanism for th