]> git.ipfire.org Git - thirdparty/git.git/blobdiff - connected.h
restore: default to HEAD when combining --staged and --worktree
[thirdparty/git.git] / connected.h
index ce2e7d8f2e535aac72fb317448ad20fb2133429b..eba5c261bac1887289ac70425cee8c97e9006ece 100644 (file)
@@ -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 }