File tree 1 file changed +5
-1
lines changed
1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ impl Snapshot<'_> {
43
43
repo. config . lenient_config ,
44
44
& mut repo. filter_config_section ( ) ,
45
45
repo. config . environment ,
46
+ false ,
46
47
)
47
48
}
48
49
}
@@ -72,6 +73,9 @@ pub(super) mod function {
72
73
/// * `environment`
73
74
/// - Determines how environment variables can be used.
74
75
/// - Actually used are `GIT_*` and `SSH_*` environment variables to configure git prompting capabilities.
76
+ /// * `use_http_path`
77
+ /// - Typically, this should be false to let the `url` configuration decide if the value should be enabled.
78
+ /// - If `false`, credentials are effectively per host.
75
79
///
76
80
/// # Deviation
77
81
///
@@ -88,6 +92,7 @@ pub(super) mod function {
88
92
is_lenient_config : bool ,
89
93
filter : & mut gix_config:: file:: MetadataFilter ,
90
94
environment : crate :: open:: permissions:: Environment ,
95
+ mut use_http_path : bool ,
91
96
) -> Result <
92
97
(
93
98
gix_credentials:: helper:: Cascade ,
@@ -97,7 +102,6 @@ pub(super) mod function {
97
102
Error ,
98
103
> {
99
104
let mut programs = Vec :: new ( ) ;
100
- let mut use_http_path = false ;
101
105
let url_had_user_initially = url. user ( ) . is_some ( ) ;
102
106
normalize ( & mut url) ;
103
107
You can’t perform that action at this time.
0 commit comments