From: Victor Leschuk Date: Wed, 28 Oct 2015 13:54:18 GMT Subject: Re: Bug: Segfault when doing "git diff" Message-ID: <5630D38A.7080301@gmail.com> In-Reply-To: <5630CF1B.9000706@sociomantic.com> On 10/28/2015 04:35 PM, Mathias L. Baumann wrote: > I was using the latest git version 2.6.2 already. > I suspect it is due to a .gitconfig. This is what is probably required: > > ➜ ~ cat .gitconfig > [diff] > submodule = log Yep, that did the trick. The segfault is from sha1_file.c: /* add the alternate entry */ *alt_odb_tail = ent; /* <===== alt_obd_tail is NULL here */ alt_odb_tail = &(ent->next); ent->next = NULL; Will try to take a closer look at it. -- Victor