Skip to content

Commit 203e91e

Browse files
committed
squash with the one below
1 parent bb79ae2 commit 203e91e

File tree

19 files changed

+1042
-140
lines changed

19 files changed

+1042
-140
lines changed

Cargo.lock

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gix-protocol/Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,10 @@ gix-trace = { version = "^0.1.11", path = "../gix-trace" }
5454
gix-transport = { version = "^0.43.1", path = "../gix-transport" }
5555
gix-hash = { version = "^0.15.1", path = "../gix-hash" }
5656
gix-date = { version = "^0.9.2", path = "../gix-date" }
57+
gix-ref = { version = "^0.49.0", path = "../gix-ref" }
58+
gix-negotiate = { version = "^0.17.0", path = "../gix-negotiate" }
59+
gix-object = { version = "^0.46.0", path = "../gix-object" }
60+
gix-revwalk = { version = "^0.17.0", path = "../gix-revwalk" }
5761
gix-credentials = { version = "^0.25.1", path = "../gix-credentials" }
5862
gix-utils = { version = "^0.1.13", path = "../gix-utils" }
5963
gix-refspec = { version = "^0.27.0", path = "../gix-refspec" }

gix-protocol/src/fetch/arguments/mod.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ pub struct Arguments {
2424
#[cfg(any(feature = "async-client", feature = "blocking-client"))]
2525
version: gix_transport::Protocol,
2626

27+
#[cfg(any(feature = "async-client", feature = "blocking-client"))]
2728
trace: bool,
2829
}
2930

@@ -164,6 +165,7 @@ impl Arguments {
164165
/// Permanently allow the server to include tags that point to commits or objects it would return.
165166
///
166167
/// Needs to only be called once.
168+
#[cfg(any(feature = "async-client", feature = "blocking-client"))]
167169
pub fn use_include_tag(&mut self) {
168170
debug_assert!(self.supports_include_tag, "'include-tag' feature required");
169171
if self.supports_include_tag {
@@ -176,6 +178,7 @@ impl Arguments {
176178
/// Note that sending an unknown or unsupported feature may cause the remote to terminate
177179
/// the connection. Use this method if you know what you are doing *and* there is no specialized
178180
/// method for this, e.g. [`Self::use_include_tag()`].
181+
#[cfg(any(feature = "async-client", feature = "blocking-client"))]
179182
pub fn add_feature(&mut self, feature: &str) {
180183
match self.version {
181184
gix_transport::Protocol::V0 | gix_transport::Protocol::V1 => {

0 commit comments

Comments
 (0)