Re: [PATCH 1/1] range-diff: internally force `diff.noprefix=false`
- From
Eric Sunshine <sunshine@sunshineco.com>
- Date
- Oct 2, 2019, 18:34 UTC
- Message-ID
- <CAPig+cS1XHLC3Q_Ntq=-Ck8WzRR7FL1qwQuCfUPVFSTkEKK+LQ@mail.gmail.com>
- In-Reply-To
- <1f84f92846bc14d21aa7339c8baa0f9bb710b17d.1570039511.git.gitgitgadget@gmail.com>
On Wed, Oct 2, 2019 at 2:05 PM Johannes Schindelin via GitGitGadget <gitgitgadget@gmail.com> wrote:
Show 8 quoted lines
> When parsing the diffs, `range-diff` expects to see the prefixes `a/` > and `b/` in the diff headers. > > These prefixes can be forced off via the config setting > `diff.noprefix=true`. As `range-diff` is not prepared for that > situation, this will cause a segmentation fault. > > Let's avoid that by forcing `diff.noprefix=false` just for that all to
s/all/call/
> `git log` that generates the diffs that `range-diff` wants to parse. > > Noticed-by: Michal Suchánek <msuchanek@suse.de>
s/Noticed/Reported/ perhaps?
> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>