Re: [RFC/PATCH 1/2] trailer: fix to ignore any line starting with '#'

2014-04-28 Thread Christian Couder
On Mon, Apr 28, 2014 at 7:58 AM, Michael Haggerty wrote: > On 04/27/2014 10:12 PM, Christian Couder wrote: >> It looks like the commit-msg hook is passed a commit >> message that can contain lines starting with a '#'. >> Those comment lines will be removed from the commit >> message after the hook

Re: [RFC/PATCH 1/2] trailer: fix to ignore any line starting with '#'

2014-04-27 Thread Michael Haggerty
On 04/27/2014 10:12 PM, Christian Couder wrote: > It looks like the commit-msg hook is passed a commit > message that can contain lines starting with a '#'. > Those comment lines will be removed from the commit > message after the hook is run. > > If we want "git interpret-trailers" to be able to

[RFC/PATCH 1/2] trailer: fix to ignore any line starting with '#'

2014-04-27 Thread Christian Couder
It looks like the commit-msg hook is passed a commit message that can contain lines starting with a '#'. Those comment lines will be removed from the commit message after the hook is run. If we want "git interpret-trailers" to be able to process commit messages correctly in the commit-msg hook we