Jay Soffian <jaysoffian@xxxxxxxxx> writes: > This doesn't seem too controversial to me, and allows server-side > reading of .gitattributes, albeit with the need to setup an index. Thanks; will queue with a few trivial tweaks. > +test_expect_success 'bare repository: check that --cached honors index' ' > + > + export GIT_INDEX_FILE=../.git/index && > + git check-attr --cached --stdin --all < ../stdin-all | > + sort > actual && > + test_cmp ../specified-all actual > + > +' This is unfriendly to others who need to add more tests after this piece by contaminating their environment. A single-shot export would be more appropriate here: GIT_INDEX_FILE=../.git/index git check-attr --cached ... -- 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