Subject: Re: bug#21457: 25.0.50; vc-test-git03-working-revision test fails

From: Glenn Morris <[email-masked]>
Date: Fri, 11 Sep 2015 16:30:36 -0400

Eli Zaretskii wrote:

>       (args-out-of-range #<killed buffer> 1 41)  <<<<<<<<<<<<<<<<<<<<<

I guess this comes from vc-git--rev-parse.
So I guess "git rev-parse WHATEVER" returns fewer than 40 characters for you.
You could try looking it more details at what vc-git--rev-parse is doing.

Perhaps it should use (min (point-max) (+ (point-min) 40)).