git-p4: fix problem when p4 login is not necessary
commitd4990d56a8dd64667df9daa5eedb8134ccc4356f
authorPeter Osterlund <peterosterlund2@gmail.com>
Mon, 7 Jan 2019 20:51:38 +0000 (7 21:51 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 7 Jan 2019 22:23:22 +0000 (7 14:23 -0800)
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 <peterosterlund2@gmail.com>
Acked-by: Luke Diamand <luke@diamand.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-p4.py