File tree Expand file tree Collapse file tree 3 files changed +14
-0
lines changed Expand file tree Collapse file tree 3 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,14 @@ struct fetch_pack_args {
40
40
unsigned cloning :1 ;
41
41
unsigned update_shallow :1 ;
42
42
unsigned deepen :1 ;
43
+
44
+ /*
45
+ * Indicate that the remote of this request is a promisor remote. The
46
+ * pack received does not need all referred-to objects to be present in
47
+ * the local object store, and fetch-pack will store the pack received
48
+ * together with a ".promisor" file indicating that the aforementioned
49
+ * pack is a promisor pack.
50
+ */
43
51
unsigned from_promisor :1 ;
44
52
45
53
/*
Original file line number Diff line number Diff line change @@ -39,7 +39,10 @@ struct options {
39
39
/* One of the SEND_PACK_PUSH_CERT_* constants. */
40
40
push_cert : 2 ,
41
41
deepen_relative : 1 ,
42
+
43
+ /* see documentation of corresponding flag in fetch-pack.h */
42
44
from_promisor : 1 ,
45
+
43
46
no_dependents : 1 ,
44
47
atomic : 1 ,
45
48
object_format : 1 ;
Original file line number Diff line number Diff line change @@ -15,7 +15,10 @@ struct git_transport_options {
15
15
unsigned self_contained_and_connected : 1 ;
16
16
unsigned update_shallow : 1 ;
17
17
unsigned deepen_relative : 1 ;
18
+
19
+ /* see documentation of corresponding flag in fetch-pack.h */
18
20
unsigned from_promisor : 1 ;
21
+
19
22
unsigned no_dependents : 1 ;
20
23
21
24
/*
You can’t perform that action at this time.
0 commit comments