From: Eric Sunshine Date: Thu, 15 Jul 2021 04:59:54 GMT Subject: Re: [PATCH 3/5] pull: handle conflicting rebase/merge options via last option wins Message-ID: In-Reply-To: <3c07ce978caa832b08c6bef1c48c061e41a6fd0b.1626316849.git.gitgitgadget@gmail.com> On Wed, Jul 14, 2021 at 10:41 PM Elijah Newren via GitGitGadget wrote: > The --rebase[=...] flags and the various ff flags are incompatible, > except that --no-rebase (or --rebase=false) work with any of the ff > flags, and --ff works with any of the rebase flags. > [...] > Signed-off-by: Elijah Newren > --- > diff --git a/t/t7601-merge-pull-config.sh b/t/t7601-merge-pull-config.sh > +test_expect_success 'report conflicting configuration' ' > + git reset --hard c2 && > + test_must_fail git -c pull.ff=false -c pull.rebase=true pull . c1 2>err && > + test_i18ngrep "pull.rebase and pull.ff are incompatible; please unset one" err > + > +' nit: unnecessary and inconsistent blank line at end of test