From fa0437899292e9e23db932041220bbeda732c246 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Fri, 23 Jun 2023 15:03:45 +0200 Subject: [PATCH] Add some configuration variables as planned due to relevancy with filters --- src/plumbing/progress.rs | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/src/plumbing/progress.rs b/src/plumbing/progress.rs index 668f312142..5484ec2bfe 100644 --- a/src/plumbing/progress.rs +++ b/src/plumbing/progress.rs @@ -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", @@ -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") } @@ -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") }, @@ -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")}