git-p4: fix problem when p4 login is not necessary
authorPeter Osterlund <redacted>
Mon, 7 Jan 2019 20:51:38 +0000 (21:51 +0100)
committerJunio C Hamano <redacted>
Mon, 7 Jan 2019 22:23:22 +0000 (14:23 -0800)
commitd4990d56a8dd64667df9daa5eedb8134ccc4356f
tree78ffd98de898262d01f88b7050e0710df8b4ff91
parent0d0ac3826a3bbb9247e39e12623bbcfdd722f24c
git-p4: fix problem when p4 login is not necessary

In a perforce setup where login is not required, communication fails
because p4_check_access does not understand the response from the p4
client. Fixed by detecting and ignoring the "info" response.

Signed-off-by: Peter Osterlund <redacted>
Acked-by: Luke Diamand <redacted>
Signed-off-by: Junio C Hamano <redacted>
git-p4.py
git clone https://git.99rst.org/PROJECT