Closed mzottola closed 1 month ago
Hello,
We would like to apply some timeouts during git operations i.e git clone The libgit2 provides 2 global options for that:
GIT_OPT_SET_SERVER_CONNECT_TIMEOUT
GIT_OPT_SET_SERVER_TIMEOUT
The purpose of this PR is to add the support for those options (with the getters as well) The link to libgit2 details: https://github.com/libgit2/libgit2/blob/main/include/git2/common.h#L508C38-L524
Hello,
We would like to apply some timeouts during git operations i.e git clone The libgit2 provides 2 global options for that:
GIT_OPT_SET_SERVER_CONNECT_TIMEOUT
GIT_OPT_SET_SERVER_TIMEOUT
The purpose of this PR is to add the support for those options (with the getters as well) The link to libgit2 details: https://github.com/libgit2/libgit2/blob/main/include/git2/common.h#L508C38-L524