History

Windows absolute path.

Svetlin Stefanov committed 4 years ago

Commit cefc8fb1 parent 31a71f31 file · +1 −0Browse files

Showing the changes to git-path/src/convert.rs (1 of 1 file). Show all

Unified · Split

git-path/src/convert.rs+1−0
@@ -231,6 +231,7 @@ pub fn real_path(path: &Path, cwd: &Path, max_symlinks: u8) -> Result<PathBuf, R · 230 unmodified lines
231231 #[cfg(target_os = "windows")]
232232 if let Some(Prefix(p)) = path.components().next() {
233233 real_path.push(p.as_os_str());
234+ real_path.push("\\");
234235 }
235236
236237 if path.is_relative() {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t