On Thu, Mar 24, 2016 at 10:09 PM, XZS <d.f.fischer@xxxxxx> wrote: > > diff --git a/t/t3701-add-interactive.sh b/t/t3701-add-interactive.sh > index deae948..25e4b2e 100755 > --- a/t/t3701-add-interactive.sh > +++ b/t/t3701-add-interactive.sh > @@ -380,4 +380,13 @@ test_expect_success 'patch mode ignores unmerged entries' ' > test_cmp expected diff > ' > > +test_expect_success 'patch mode can be activated per option' ' > + git config add.patch true && > + git reset --hard && > + echo change >test && > + echo y | git add -p > output && Why are you using "-p" if you want to test that the config option works? > + cat output && > + grep "Stage this hunk \[y,n,q,a,d,/,e,?\]?" output > +' > + > test_done -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html