git-p4: Improve rename detection support
authorVitor Antunes <vitor.hda@gmail.com>
Sun, 20 Feb 2011 01:18:24 +0000 (01:18 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 21 Feb 2011 18:58:02 +0000 (10:58 -0800)
commitae901090f715fe6e5f589b4d92ec87b74429ed1b
tree0fc07ba5b9e39147e94d5ccde4d9c3c78d9f63b8
parent7ed863a85a6ce2c4ac4476848310b8f917ab41f9
git-p4: Improve rename detection support

Only open files for edit after integrating if the SHA1 of source and destination
differ from each other.
Add git config option detectRenames to allow permanent rename detection. This
options should be set to a true/false value.
Rename "detectRename" variable to "detectRenames" to make it more coherent with
the description in git man pages, which always use plural.

Signed-off-by: Vitor Antunes <vitor.hda@gmail.com>
Acked-by: Pete Wyckoff <pw@padd.com>
Acked-by: Tor Arvid Lund <torarvid@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/fast-import/git-p4