Re: [PATCH v4] pull --rebase: add --[no-]autostash flag
- From
Mehul Jain <mehul.jain2029@gmail.com>
- Date
- Mar 7, 2016, 08:23 UTC
- Message-ID
- <CA+DCAeSD60jChusPviF-VNENVEfO0SoFkTZE-B-q+X_YcnuvFw@mail.gmail.com>
- In-Reply-To
- <xmqqfuw4x3e8.fsf@gitster.mtv.corp.google.com>
Hi Junio,
Thanks for the thorough review.
On Sat, Mar 5, 2016 at 10:34 PM, Junio C Hamano <gitster@pobox.com> wrote:
Show 6 quoted lines
> Is it worth checking the case where autostash kicks in, rebase > itself is completed successfully, but the final "stash pop" fails in > conflict? I am thinking aloud and just wondering, not suggesting > to add such a test, or even suggesting that having such a test is > worthwhile. I didn't even check if there is already an existing test > to cover that case.
I think this case has already been checked in t3420-rebase.autostash.sh: "rebase$type: non-conflicting rebase, conflicting stash". Though in that test rebase.autoStash has been used to trigger git-stash.
Thanks, Mehul