From: Blair Holloway Date: Sat, 4 Apr 2015 08:46:03 +0000 (+0100) Subject: git-p4: fix filetype detection on files opened exclusively X-Git-Tag: v2.5.0-rc0~155^2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/34a0dbfc6b7463a68df79d5773102f85e56cbe4d?hp=34a0dbfc6b7463a68df79d5773102f85e56cbe4d git-p4: fix filetype detection on files opened exclusively 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 Acked-by: Luke Diamand Signed-off-by: Luke Diamand Signed-off-by: Junio C Hamano ---