[PATCH v5 0/2] blame and log: prevent error if range ends past end of file
- From
istephens@atlassian.com <istephens@atlassian.com>
- Date
- May 29, 2018, 05:30 UTC
- Message-ID
- <20180529053037.38015-1-istephens@atlassian.com>
- In-Reply-To
- <xmqqzi1iwz7l.fsf@gitster-ct.c.googlers.com>
Okay, I think that sounds reasonable. I've amended the patch so that the line number is clipped to 1 when reading in a line range. And -L,-n is now treated the same as -L1,-n i.e. it will blame (or log) the first line of the file only.