salesforce / p4-fusion

A fast Perforce to Git conversion tool written in C++ using Perforce Helix Core C++ API and Libgit2
BSD 3-Clause "New" or "Revised" License
78 stars 15 forks source link

main: Add server connection check and bubble up errors as exit codes #58

Closed twarit-waikar closed 1 year ago

twarit-waikar commented 1 year ago

The number of retries when testing the connection before actually carrying out the usual business is hard-coded to 5.

It doesn't seem to me that users would require flexibility in a simple connection test.