possible 'git cp'/how does git detect copies | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
On a very simple test, I couldn't see this working. I just copied one file, added it, committed the change, ran "git diff -C HEAD^!". There is no place saying that it's contents is copied from some other file (both files are in the repository now).
"git blame -C new_copied_file" also doesn't show the commits for the original file.
This is all with 1.5.6.1.I am probably missing something here... but I can't produce an example of copied contents that actually works. Any hint would be appreciated.
I found this older thread [1] on "git cp" but the discussion appears to have stalled at some point. If there is indeed no use of a "git cp" command, I would like at least some info on how content copies are being detected, since I haven't seen this working.
[1] http://kerneltrap.org/mailarchive/git/2008/2/3/705424 Many thanks, Mircea -- http://mircea.bardac.net -- 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
[Newbies FAQ] [Kernel List] [Site Home] [Free Online Dating] [Gcc Help] [IETF Annouce] [DCCP] [Netdev] [Networking] [Security] [V4L] [Bugtraq] [Free Online Dating] [Rubini] [Photo] [Yosemite] [MIPS Linux] [ARM Linux] [Linux Security] [Linux RAID] [Linux SCSI] [DDR & Rambus] [Linux Resources]