Skip to content

Commit

Permalink
Introduce new gitoxide.http.connectTimeout for more control for git…
Browse files Browse the repository at this point in the history
… clients
  • Loading branch information
Byron committed Nov 15, 2022
1 parent 1766568 commit 2ab80e4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/plumbing/progress.rs
Original file line number Diff line number Diff line change
Expand Up @@ -739,6 +739,13 @@ static GIT_CONFIG: &[Record] = &[
reason: "on demand, without it it's not possible to implement environment overrides via `no_proxy` or `NO_PROXY` for a list of hostnames or `*`"
}
},
Record {
config: "gitoxide.http.connectTimeout",
usage: InModule {
name: "repository::config::transport",
deviation: Some("entirely new, and in milliseconds like all other timeout suffixed variables in the git config")
}
}
];

/// A programmatic way to record and display progress.
Expand Down

0 comments on commit 2ab80e4

Please sign in to comment.