From: Junio C Hamano Date: Wed, 24 Aug 2016 17:52:41 GMT Subject: Re: [PATCH v2 2/4] cat-file: introduce the --filters option Message-ID: In-Reply-To: Junio C Hamano 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 &&