git p4: add support for 'p4 move' in P4Submit
authorGary Gibbons <ggibbons@perforce.com>
Thu, 12 Jul 2012 23:29:00 +0000 (19:29 -0400)
committerJunio C Hamano <gitster@pobox.com>
Thu, 12 Jul 2012 23:31:34 +0000 (16:31 -0700)
For -M option (detectRenames) in P4Submit, use 'p4 move' rather
than 'p4 integrate'. Check Perforce server for exisitence of
'p4 move' and use it if present, otherwise revert to 'p4 integrate'.

[pw: wildcard-encode src/dest, add/update tests, tweak code]

Signed-off-by: Gary Gibbons <ggibbons@perforce.com>
Signed-off-by: Pete Wyckoff <pw@padd.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found