From: Junio C Hamano Date: Mon, 20 Jun 2011 16:08:57 GMT Subject: Re: jk/maint-merge-rename-create Message-ID: <7voc1scwo6.fsf@alter.siamese.dyndns.org> In-Reply-To: Elijah Newren writes: > --- Why doesn't break detection work as I expect? --- > $ git init -q > $ printf "1\n2\n3\n4\n5\n6\n7\n8\n9\n10\n" >a > $ printf "a\nb\nc\nd\ne\nf\ng\nh\ni\nj\n" >b Use something non-trivial. Taking a real-life file COPYING from our source set, I can do this: $ git init $ cp $git_src/COPYING a $ tr 'A-Za-z' 'N-ZA-Mn-za-m' b $ git add a b $ git commit -m ab $ git mv a c; git mv b a; git mv c a $ git diff --stat -M -B HEAD b => a | 0 a => c | 0 2 files changed, 0 insertions(+), 0 deletions(-)