Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fa04378

Browse files
committed
Add some configuration variables as planned due to relevancy with filters
1 parent 6906e0d commit fa04378

1 file changed

Lines changed: 17 additions & 9 deletions

File tree

src/plumbing/progress.rs

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,19 @@ impl Tabled for Record {
102102
static GIT_CONFIG: &[Record] = &[
103103
Record {
104104
config: "core.safeCRLF",
105-
usage: Planned { note: Some("safety is not optional") },
105+
usage: Planned { note: Some("safety is not optional (but we will respect the setting)") },
106+
},
107+
Record {
108+
config: "core.autocrlf",
109+
usage: Planned { note: Some("for filtering system") },
110+
},
111+
Record {
112+
config: "core.eol",
113+
usage: Planned {note: Some("needed for filters, but also for doing diffs correctly")}
114+
},
115+
Record {
116+
config: "core.checkRoundtripEncoding",
117+
usage: Planned { note: Some("needed once working-tree-encoding attributes are supported") }
106118
},
107119
Record {
108120
config: "core.hideDotFiles",
@@ -124,10 +136,6 @@ static GIT_CONFIG: &[Record] = &[
124136
config: "core.alternateRefsPrefixes",
125137
usage: NotPlanned { reason: "seems like a niche feature, but can be implemented if there is demand" }
126138
},
127-
Record {
128-
config: "core.checkRoundtripEncoding",
129-
usage: Planned { note: Some("needed once working-tree-encoding attributes are supported") }
130-
},
131139
Record {
132140
config: "core.bigFileThreshold",
133141
usage: Planned { note: Some("unfortunately we can't stream packed files yet, even if not delta-compressed, but respecting the threshold for other operations is definitely a must") }
@@ -156,6 +164,10 @@ static GIT_CONFIG: &[Record] = &[
156164
config: "core.sparseCheckoutCone",
157165
usage: Planned { note: Some("this is a nice improvement over spareCheckout alone and should one day be available too") },
158166
},
167+
Record {
168+
config: "core.gitProxy",
169+
usage: NotPlanned { reason: "the transport mechanism works differently enough to not support it for now, but of course it's possible to add support if there is demand" },
170+
},
159171
Record {
160172
config: "checkout.defaultRemote",
161173
usage: Planned { note: Some("needed for correct checkout behaviour, similar to what git does") },
@@ -230,10 +242,6 @@ static GIT_CONFIG: &[Record] = &[
230242
reason: "no plan to implement format-patch or request-pull summary"
231243
},
232244
},
233-
Record {
234-
config: "core.eol",
235-
usage: Planned {note: Some("needed for filters, but also for doing diffs correctly")}
236-
},
237245
Record {
238246
config: "core.fsync",
239247
usage: Planned {note: Some("more safety for disk write operations is a good thing, definitely on the server")}

0 commit comments

Comments
 (0)