Windows: Fix bug in direct mode merge code that could cause files in subdirectories to go missing.
This commit is contained in:
parent
341b72fd9a
commit
49aad120b9
3 changed files with 12 additions and 1 deletions
|
@ -87,7 +87,7 @@ parseDiffTree l = go l []
|
|||
, srcsha = fromMaybe (error "bad srcsha") $ extractSha ssha
|
||||
, dstsha = fromMaybe (error "bad dstsha") $ extractSha dsha
|
||||
, status = s
|
||||
, file = asTopFilePath $ Git.Filename.decode f
|
||||
, file = asTopFilePath $ fromInternalGitPath $ Git.Filename.decode f
|
||||
}
|
||||
where
|
||||
readmode = fst . Prelude.head . readOct
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue