We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe036ae commit 39eed96Copy full SHA for 39eed96
src/Fancydiff/Lib.hs
@@ -131,7 +131,9 @@ readMaybeBlob filename hash = do
131
-- complains the commit hashes not found.
132
return ""
133
_ -> E.throw e
134
- Nothing -> E.throw e
+ Nothing -> do
135
+ -- Could be a sub-project not cloned yet.
136
+ return ""
137
E.catch inDb inWorkingDir
138
139
highlightSourceInDiffFile :: (MonadGit o m, MonadIO m, MonadBaseControl IO m) => Text -> Text -> DH.DiffHeader -> DH.DiffContent -> m (Maybe F.FList)
0 commit comments