Skip to content

Commit 19fa5ac

Browse files
luked99gitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 6026aff commit 19fa5ac

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

git-p4.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3826,6 +3826,8 @@ def run(self, args):
38263826
b = b[len(self.projectName):]
38273827
self.createdBranches.add(b)
38283828

3829+
p4_check_access()
3830+
38293831
self.openStreams()
38303832

38313833
err = None

0 commit comments

Comments
 (0)