Re: [PATCH] sequencer: require trailing NL in footers
- From
Stefan Beller <sbeller@google.com>
- Date
- Apr 25, 2017, 21:56 UTC
- Message-ID
- <CAGZ79kbhxjO-tFW4_kObTZiauetjsgY1NBSKvo1NV5nKNEy2xA@mail.gmail.com>
- In-Reply-To
- <f49a858b-26da-7e8c-e0f2-8d66158f016a@google.com>
On Tue, Apr 25, 2017 at 2:51 PM, Jonathan Tan <jonathantanmy@google.com> wrote:
Show 12 quoted lines
> On 04/25/2017 02:04 PM, Stefan Beller wrote: >> >> Thanks for the fix. :) >> Do we want to test for this use case in the future? > > > Thanks! > > I'm not sure of the value of including a test for this specific use case, > because Git normally does not create commit messages with no trailing > newlines. (To test this, I suspect I would need to use hash-object with a > specifically crafted commit object.)
Okay, makes sense to omit a test. In that case: Is it needed to hint at how this bug occurred in the wild? (A different Git implementation, which may be fixed now?)