Skip to content

Commit

Permalink
Add some configuration variables as planned due to relevancy with fil…
Browse files Browse the repository at this point in the history
…ters
  • Loading branch information
Byron committed Jun 23, 2023
1 parent 6906e0d commit fa04378
Showing 1 changed file with 17 additions and 9 deletions.
26 changes: 17 additions & 9 deletions src/plumbing/progress.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,19 @@ impl Tabled for Record {
static GIT_CONFIG: &[Record] = &[
Record {
config: "core.safeCRLF",
usage: Planned { note: Some("safety is not optional") },
usage: Planned { note: Some("safety is not optional (but we will respect the setting)") },
},
Record {
config: "core.autocrlf",
usage: Planned { note: Some("for filtering system") },
},
Record {
config: "core.eol",
usage: Planned {note: Some("needed for filters, but also for doing diffs correctly")}
},
Record {
config: "core.checkRoundtripEncoding",
usage: Planned { note: Some("needed once working-tree-encoding attributes are supported") }
},
Record {
config: "core.hideDotFiles",
Expand All @@ -124,10 +136,6 @@ static GIT_CONFIG: &[Record] = &[
config: "core.alternateRefsPrefixes",
usage: NotPlanned { reason: "seems like a niche feature, but can be implemented if there is demand" }
},
Record {
config: "core.checkRoundtripEncoding",
usage: Planned { note: Some("needed once working-tree-encoding attributes are supported") }
},
Record {
config: "core.bigFileThreshold",
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") }
Expand Down Expand Up @@ -156,6 +164,10 @@ static GIT_CONFIG: &[Record] = &[
config: "core.sparseCheckoutCone",
usage: Planned { note: Some("this is a nice improvement over spareCheckout alone and should one day be available too") },
},
Record {
config: "core.gitProxy",
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" },
},
Record {
config: "checkout.defaultRemote",
usage: Planned { note: Some("needed for correct checkout behaviour, similar to what git does") },
Expand Down Expand Up @@ -230,10 +242,6 @@ static GIT_CONFIG: &[Record] = &[
reason: "no plan to implement format-patch or request-pull summary"
},
},
Record {
config: "core.eol",
usage: Planned {note: Some("needed for filters, but also for doing diffs correctly")}
},
Record {
config: "core.fsync",
usage: Planned {note: Some("more safety for disk write operations is a good thing, definitely on the server")}
Expand Down

0 comments on commit fa04378

Please sign in to comment.