mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-22 10:05:06 +03:00
Loosen src_is_git to just check exists()
This commit is contained in:
@@ -234,7 +234,7 @@ pub fn new(flags: Flags, config: Config) -> Build {
|
||||
};
|
||||
let rust_info = channel::GitInfo::new(&src);
|
||||
let cargo_info = channel::GitInfo::new(&src.join("cargo"));
|
||||
let src_is_git = src.join(".git").is_dir();
|
||||
let src_is_git = src.join(".git").exists();
|
||||
|
||||
Build {
|
||||
flags: flags,
|
||||
|
||||
Reference in New Issue
Block a user