]> git.ipfire.org Git - thirdparty/git.git/commit
git-p4: check for access to remote host earlier
authorLuke Diamand <luke@diamand.org>
Wed, 29 Jan 2020 11:12:46 +0000 (11:12 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 30 Jan 2020 20:20:58 +0000 (12:20 -0800)
commit19fa5ac333134fc3aa1e462780c4690177474ade
tree86d36764f511f2a58513b715ec7574efaecb3afd
parent6026aff5bbe7389fa276188237b58afbef1b07ff
git-p4: check for access to remote host earlier

Check we can talk to the remote host before starting the git-fastimport
subchild.

Otherwise we fail to connect, and then exit, leaving git-fastimport
still running since we did not wait() for it.

Signed-off-by: Luke Diamand <luke@diamand.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-p4.py