Re: [PATCH 1/2] merge: only apply autostash when appropriate
- From
Eric Sunshine <sunshine@sunshineco.com>
- Date
- Aug 21, 2022, 04:52 UTC
- Message-ID
- <CAPig+cTMxj14gYGXgE3LAPFQRdDYXiH=Fd_iCwzoJp9uS1jCzg@mail.gmail.com>
- In-Reply-To
- <92840bf63782ca302e9d48a12faf7d4f5b3cc2d5.1661056709.git.gitgitgadget@gmail.com>
On Sun, Aug 21, 2022 at 12:41 AM Elijah Newren via GitGitGadget <gitgitgadget@gmail.com> wrote:
Show 14 quoted lines
> If a merge failed and we are leaving conflicts in the working directory > for the user to resolve, we should not attempt to apply any autostash. > > Further, if we fail to apply the autostash (because either the merge > failed, or the user requested --no-commit), then we should instruct the > user how to apply it later. > > Add a testcase verifying we have corrected this behavior. > > Signed-off-by: Elijah Newren <newren@gmail.com> > --- > diff --git a/t/t7600-merge.sh b/t/t7600-merge.sh > @@ -255,6 +255,15 @@ test_expect_success 'merge --squash c3 with c7' ' > +test_expect_success 'merge --squash --autostash conflict does not attempt to play autostash' '
Did you mean s/play/apply/ ?