summaryrefslogtreecommitdiff
path: root/Git/FilePath.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Git/FilePath.hs')
-rw-r--r--Git/FilePath.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Git/FilePath.hs b/Git/FilePath.hs
index 66a0159..d31b421 100644
--- a/Git/FilePath.hs
+++ b/Git/FilePath.hs
@@ -50,7 +50,7 @@ data BranchFilePath = BranchFilePath Ref TopFilePath
{- Git uses the branch:file form to refer to a BranchFilePath -}
descBranchFilePath :: BranchFilePath -> S.ByteString
descBranchFilePath (BranchFilePath b f) =
- encodeBS' (fromRef b) <> ":" <> getTopFilePath f
+ fromRef' b <> ":" <> getTopFilePath f
{- Path to a TopFilePath, within the provided git repo. -}
fromTopFilePath :: TopFilePath -> Git.Repo -> RawFilePath