Re: Git 2.19 Segmentation fault 11 on macOS
- From
ryenus <ryenus@gmail.com>
- Date
- Sep 11, 2018, 16:03 UTC
- Message-ID
- <CAKkAvaw4QTMzKXpkpAaMhZaz68=OdS_AmrMXyu6C9td2P+XmTg@mail.gmail.com>
- In-Reply-To
- <20180911154906.GA4865@hank.intra.tgummerer.com>
On Tue, 11 Sep 2018 at 23:49, Thomas Gummerer <t.gummerer@gmail.com> wrote:
Show 17 quoted lines
>
> Hi,
>
> thanks for your bug report!
>
> On 09/11, ryenus wrote:
> > I just updated to 2.19 via Homebrew, git range-diff seems cool, but I
> > only got a Segmentation fault: 11
> >
> > $ git version; git range-diff origin/master HEAD@{2} HEAD
>
> Unfortunately the HEAD@{2} syntax needs your reflog, which is not
> available when just cloning the repository (the reflog is only local
> and not pushed to the remote repository). Would it be possible to
> create a short script to create the repository where you're
> experiencing the behaviour, or replacing 'origin/master', 'HEAD@{2}'
> and 'HEAD' with the actual commit ids?so `HEAD~2` should be used instead of `HEAD@{2}`, right? I just tried the following and got same error:
$ git range-diff master patch~2 patch
Segmentation fault: 11Show 12 quoted lines
> > I tried with various values, but unfortunately failed to reproduce > this so far (although admittedly I tried it on linux, not Mac OS). > > > git version 2.19.0 > > Segmentation fault: 11 > > > > Both origin/master and my local branch each got two new commits of their own, > > please correct me if this is not the expected way to use git range-diff. > > > > FYI, I've created a sample repo here: > > https://github.com/ryenus/range-diff-segfault/