Hey Danh, > > diff --git a/t/t3701-add-interactive.sh b/t/t3701-add-interactive.sh > > index ca04fac417..9104d1946d 100755 > > --- a/t/t3701-add-interactive.sh > > +++ b/t/t3701-add-interactive.sh > > @@ -765,6 +765,11 @@ test_expect_success 'setup different kinds of dirty submodules' ' > > cat >expected <<-\EOF && > > dirty-both-ways > > dirty-head > > + EOF > > + git -C for-submodules diff-files --name-only --ignore-submodules=none >actual && > > + cat >expected <<-\EOF && > > + dirty-both-ways > > + dirty-head > > This will throw-away above change to "expected", I think this is not > what you expected to write! I am sorry I couldn't understand what you mean by that. I think that is what I expected to write. I want those changes to be in "expected". Thanks, Sangeeta