Showing the changes to git-path (1 of 1 file). Show all
Unified · Split
| @@ -231,6 +231,7 @@ pub fn real_path(path: &Path, cwd: &Path, max_symlinks: u8) -> Result<PathBuf, R · 230 unmodified lines | ||
| 231 | 231 | #[cfg(target_os = "windows")] |
| 232 | 232 | if let Some(Prefix(p)) = path.components().next() { |
| 233 | 233 | real_path.push(p.as_os_str()); |
| 234 | + real_path.push("\\"); | |
| 234 | 235 | } |
| 235 | 236 | |
| 236 | 237 | if path.is_relative() { |