finish fix for gitAnnexLink on windows
dropDrive needed since if splitPath splits out the drives, they would appear different.
This commit is contained in:
parent
932d4211a4
commit
c3449ff91d
1 changed files with 1 additions and 1 deletions
|
@ -143,7 +143,7 @@ relPathDirToFileAbs from to
|
||||||
where
|
where
|
||||||
pfrom = sp from
|
pfrom = sp from
|
||||||
pto = sp to
|
pto = sp to
|
||||||
sp = map dropTrailingPathSeparator . splitPath
|
sp = map dropTrailingPathSeparator . splitPath . dropDrive
|
||||||
common = map fst $ takeWhile same $ zip pfrom pto
|
common = map fst $ takeWhile same $ zip pfrom pto
|
||||||
same (c,d) = c == d
|
same (c,d) = c == d
|
||||||
uncommon = drop numcommon pto
|
uncommon = drop numcommon pto
|
||||||
|
|
Loading…
Reference in a new issue