push: propagate remote and refspec with --recurse-submodules
[gitweb.git] / connected.h
index 12594efa1637f81bfd21070e9bb952bad4b5e662..4ca325f79dc5ee45823834f71f66a6d3b278c3e5 100644 (file)
@@ -23,6 +23,21 @@ 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;
+
+       /* If non-zero, show progress as we traverse the objects. */
+       int progress;
+
+       /*
+        * Insert these variables into the environment of the child process.
+        */
+       const char **env;
 };
 
 #define CHECK_CONNECTED_INIT { 0 }