W dniu 03.10.2016 o 22:36, Jeff King pisze: > +test_expect_success 'count-objects shows the alternates' ' > + cat >expect <<-EOF && > + alternate: $(pwd)/B/.git/objects > + alternate: $(pwd)/A/.git/objects > + EOF > + git -C C count-objects -v >actual && > + grep ^alternate: actual >actual.alternates && > + test_cmp expect actual.alternates > +' This was bit hard to grok for me without quotes around regular expression in grep (should it be sane_grep, BTW?): + grep "^alternate:" actual >actual.alternates && But it might be just me... It's certainly not necessary. -- Jakub Narębski