summaryrefslogtreecommitdiff
path: root/connected.h
diff options
context:
space:
mode:
Diffstat (limited to 'connected.h')
-rw-r--r--connected.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/connected.h b/connected.h
index a53f03a61a..e4c961817d 100644
--- a/connected.h
+++ b/connected.h
@@ -1,6 +1,7 @@
#ifndef CONNECTED_H
#define CONNECTED_H
+struct object_id;
struct transport;
/*
@@ -38,6 +39,13 @@ struct check_connected_options {
* Insert these variables into the environment of the child process.
*/
const char **env;
+
+ /*
+ * If non-zero, check the ancestry chain completely, not stopping at
+ * any existing ref. This is necessary when deepening existing refs
+ * during a fetch.
+ */
+ unsigned is_deepening_fetch : 1;
};
#define CHECK_CONNECTED_INIT { 0 }