git-p4: fix filetype detection on files opened exclusively
authorBlair Holloway <blair_holloway@playstation.sony.com>
Sat, 4 Apr 2015 08:46:03 +0000 (09:46 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sat, 4 Apr 2015 19:43:20 +0000 (12:43 -0700)
If a Perforce server is configured to automatically set +l
(exclusive lock) on add of certain file types, git p4 submit will
fail during getP4OpenedType, as the regex doesn't expect the
trailing '*exclusive*' from p4 opened:

//depot/file.png#1 - add default change (binary+l) *exclusive*

Signed-off-by: Blair Holloway <blair_holloway@playstation.sony.com>
Acked-by: Luke Diamand <luke@diamand.org>
Signed-off-by: Luke Diamand <luke@diamand.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found