We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
match_ceiling_dir_or_error
apply_environment()
1 parent f7adf97 commit 85499e4Copy full SHA for 85499e4
gix-discover/src/upwards/types.rs
@@ -87,16 +87,12 @@ impl Options<'_> {
87
///
88
/// Note that `GIT_DISCOVERY_ACROSS_FILESYSTEM` for `cross_fs` is **not** read,
89
/// as it requires parsing of `git-config` style boolean values.
90
- ///
91
- /// In addition, this function disables `match_ceiling_dir_or_error` to allow
92
- /// discovery if an outside environment variable sets non-matching ceiling directories.
93
// TODO: test
94
pub fn apply_environment(mut self) -> Self {
95
let name = "GIT_CEILING_DIRECTORIES";
96
if let Some(ceiling_dirs) = env::var_os(name) {
97
self.ceiling_dirs = parse_ceiling_dirs(&ceiling_dirs);
98
}
99
- self.match_ceiling_dir_or_error = false;
100
self
101
102
0 commit comments