about summary refs log tree commit diff
path: root/third_party/git/connected.h
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/git/connected.h')
-rw-r--r--third_party/git/connected.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/third_party/git/connected.h b/third_party/git/connected.h
index ce2e7d8f2e..eba5c261ba 100644
--- a/third_party/git/connected.h
+++ b/third_party/git/connected.h
@@ -48,12 +48,13 @@ struct check_connected_options {
 	unsigned is_deepening_fetch : 1;
 
 	/*
-	 * If non-zero, only check the top-level objects referenced by the
-	 * wanted refs (passed in as cb_data). This is useful for partial
-	 * clones, where enumerating and excluding all promisor objects is very
-	 * slow and the commit-walk itself becomes a no-op.
+	 * If non-zero, only check that the top-level objects referenced by the
+	 * wanted refs (passed in as cb_data) are promisor objects. This is
+	 * useful for partial clones, where enumerating and excluding all
+	 * promisor objects is very slow and the commit-walk itself becomes a
+	 * no-op.
 	 */
-	unsigned check_refs_only : 1;
+	unsigned check_refs_are_promisor_objects_only : 1;
 };
 
 #define CHECK_CONNECTED_INIT { 0 }