From: Junio C Hamano Date: Tue, 17 Jan 2017 23:19:06 +0000 (-0800) Subject: Merge branch 'sb/t3600-cleanup' into maint X-Git-Tag: v2.11.1~30 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1fb4a1126a137a032e789bb4ab2c437d281cf6c0;p=git Merge branch 'sb/t3600-cleanup' into maint Code cleanup. * sb/t3600-cleanup: t3600: slightly modernize style t3600: remove useless redirect --- 1fb4a1126a137a032e789bb4ab2c437d281cf6c0 diff --cc t/t3600-rm.sh index 14f0edca2b,66092f042d..bcbb680651 --- a/t/t3600-rm.sh +++ b/t/t3600-rm.sh @@@ -709,9 -687,10 +687,9 @@@ test_expect_success 'checking out a com git commit -m "submodule removal" submod && git checkout HEAD^ && git submodule update && - git checkout -q HEAD^ 2>actual && + git checkout -q HEAD^ && git checkout -q master 2>actual && - echo "warning: unable to rmdir submod: Directory not empty" >expected && - test_i18ncmp expected actual && + test_i18ngrep "^warning: unable to rmdir submod:" actual && git status -s submod >actual && echo "?? submod/" >expected && test_cmp expected actual &&