projects
/
git-annex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27a0bac
)
fix comment
author
Joey Hess
<joeyh@joeyh.name>
Tue, 11 Feb 2025 18:07:01 +0000
(14:07 -0400)
committer
Joey Hess
<joeyh@joeyh.name>
Tue, 11 Feb 2025 18:07:01 +0000
(14:07 -0400)
Git/FilePath.hs
patch
|
blob
|
history
diff --git
a/Git/FilePath.hs
b/Git/FilePath.hs
index b184264ab0fac78e065b808d953eb62f785d0baa..4604bd2ddda2dfc4cd65804bbbd1b5b1e79d56e6 100644
(file)
--- a/
Git/FilePath.hs
+++ b/
Git/FilePath.hs
@@
-58,7
+58,7
@@
fromTopFilePath p repo = combine (repoPath repo) (getTopFilePath p)
toTopFilePath :: OsPath -> Git.Repo -> IO TopFilePath
toTopFilePath file repo = TopFilePath <$> relPathDirToFile (repoPath repo) file
-{- The input
RawFileP
ath must already be relative to the top of the git
+{- The input
p
ath must already be relative to the top of the git
- repository -}
asTopFilePath :: OsPath -> TopFilePath
asTopFilePath file = TopFilePath file