Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'connected.h')
-rw-r--r--connected.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/connected.h b/connected.h
index 12594efa16..5d88e26c79 100644
--- a/connected.h
+++ b/connected.h
@@ -23,6 +23,13 @@ struct check_connected_options {
/* Transport whose objects we are checking, if available. */
struct transport *transport;
+
+ /*
+ * If non-zero, send error messages to this descriptor rather
+ * than stderr. The descriptor is closed before check_connected
+ * returns.
+ */
+ int err_fd;
};
#define CHECK_CONNECTED_INIT { 0 }