Re: [PATCH 1/3] Tighten and correct a few testcases for merging and cherry-picking
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jan 5, 2018, 21:24 UTC
- Message-ID
- <nycvar.QRO.7.76.6.1801052223130.1337@wbunaarf-fpuvaqryva.tvgsbejvaqbjf.bet>
- In-Reply-To
- <20180105202001.24218-2-newren@gmail.com>
Hi Elijah,
On Fri, 5 Jan 2018, Elijah Newren wrote:
Show 8 quoted lines
> t3501 had a testcase originally added in 05f2dfb965 (cherry-pick: > demonstrate a segmentation fault, 2016-11-26) to ensure cherry-pick > wouldn't segfault when working with a dirty file involved in a rename. > > While the segfault was fixed, there was another problem this test > demonstrated: namely, that git would overwrite a dirty file involved in a > rename. Further, the test encoded a "successful merge" and overwriting of > this file as correct behavior.
Whoops. Sorry about that. Thanks for the patch, looks obviously good (I haven't read 3/3 yet, but figure that the error message stems from the changes introduced in that patch).
Ciao, Dscho