From: Junio C Hamano Date: Tue, 05 Apr 2016 21:12:34 GMT Subject: Re: [PATCH v1] correct blame for files commited with CRLF Message-ID: In-Reply-To: <1459884234-13026-1-git-send-email-tboegi@web.de> tboegi@web.de writes: > + git config core.autocrlf true && > + mv crlfinrepo tmp && > + git checkout crlfinrepo && > + rm tmp && Why not just "rm -f crlfinrepo" and "git checkout crlfinrepo"? > + git blame crlfinrepo >actual && > + grep "A U Thor" actual > +' > + > test_done