git-p4: fix filetype detection on files opened exclusively
authorBlair Holloway <redacted>
Sat, 4 Apr 2015 08:46:03 +0000 (09:46 +0100)
committerJunio C Hamano <redacted>
Sat, 4 Apr 2015 19:43:20 +0000 (12:43 -0700)
commit34a0dbfc6b7463a68df79d5773102f85e56cbe4d
treea822caf1c918d173462522a7ce36a2111c2cf454
parentd077c2db8db64c931976391afee6c35828868a11
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 <redacted>
Acked-by: Luke Diamand <redacted>
Signed-off-by: Luke Diamand <redacted>
Signed-off-by: Junio C Hamano <redacted>
git-p4.py
t/t9816-git-p4-locked.sh
git clone https://git.99rst.org/PROJECT