Unified · Split
| @@ -89,6 +89,7 @@ pub(super) static EXE_INFO: Lazy<Option<BString>> = Lazy::new(|| { · 88 unmodified lines | |||
| 89 | const CREATE_NO_WINDOW: u32 = 0x08000000; | 89 | const CREATE_NO_WINDOW: u32 = 0x08000000; |
| 90 | cmd.creation_flags(CREATE_NO_WINDOW); | 90 | cmd.creation_flags(CREATE_NO_WINDOW); |
| 91 | } | 91 | } |
| 92 | // git 2.8.0 and higher support --show-origin. | ||
| 92 | cmd.args(["config", "-l", "--show-origin"]) | 93 | cmd.args(["config", "-l", "--show-origin"]) |
| 93 | .current_dir(env::temp_dir()) | 94 | .current_dir(env::temp_dir()) |
| 94 | .stdin(Stdio::null()) | 95 | .stdin(Stdio::null()) |