log: range_set_append: Assertion failed with -L:funcname:

From: Kevin Locke <hidden>
Date: 2016-12-13 08:47:03

Hi all,

I encountered the following assertion failure when running in a local
clone of the https://github.com/nodejs/node.git repository:

$ git log -L:writeFileSync:lib/fs.js -L:appendFileSync:lib/fs.js aa67b1^..aa67b1
git: line-log.c:71: range_set_append: Assertion `rs->nr == 0 || rs->ranges[rs->nr-1].end <= a' failed.
Aborted

I was able to provoke the same assertion failure in the git repository
with the following:

$ git log -L:print_one_push_status:transport.c -L:transport_summary_width:transport.c f9db0c^..f9db0c

(FWIW, f9db0c is a merge commit while aa67b1 is not.)

I was able to reproduce the error with git built from 13b8f6 (the
commit which introduced git log -L:pattern:file) as well as current
next (91ed5b).  The backtrace from next is attached.

Any assistance to avoid or fix the error would be greatly appreciated.

Thanks,
Kevin

P.S.  Please CC me in replies as I am not subscribed to this ML.

-- 
Kevin Locke  |  kevin@kevinlocke.name    | XMPP: kevin@kevinlocke.name
             |  https://kevinlocke.name  | IRC:   kevinoid on freenode

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help