Re: jk/maint-merge-rename-create

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Elijah Newren <newren@xxxxxxxxx> 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' <a >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(-)
--
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


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]