Junio C Hamano <gitster@xxxxxxxxx> writes: >> +test_expect_success 'setup ' ' >> + echo "*.txt eol=crlf diff=txt" >.gitattributes && >> + echo "hello" | append_cr >world.txt && >> + git add .gitattributes world.txt && > > git update-index --cacheinfo :world.txt,$EMPTY_BLOB,symlink && Sorry, last-minute-edit-gone-bad-without-proofreading. It should have been something like: git update-index --add --cacheinfo 160000,$EMPTY_BLOB,symlink && or sym=$(echo "hello" | git hash-objects --stdin -w) && git update-index --add --cacheinfo 160000,$sym,symlink && -- 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