remove unused contentFile = Nothing
This commit is contained in:
parent
25e4ab7e81
commit
ee4fd38ecf
11 changed files with 32 additions and 40 deletions
|
@ -89,7 +89,7 @@ fileMatchInfo file mkey = do
|
|||
matchfile <- getTopFilePath <$> inRepo (toTopFilePath file)
|
||||
return $ MatchingFile FileInfo
|
||||
{ matchFile = matchfile
|
||||
, contentFile = Just file
|
||||
, contentFile = file
|
||||
, matchKey = mkey
|
||||
}
|
||||
|
||||
|
|
|
@ -568,7 +568,7 @@ importKeys remote importtreeconfig importcontent thirdpartypopulated importablec
|
|||
mkkey tmpfile = do
|
||||
let mi = MatchingFile FileInfo
|
||||
{ matchFile = f
|
||||
, contentFile = Just tmpfile
|
||||
, contentFile = tmpfile
|
||||
, matchKey = Nothing
|
||||
}
|
||||
islargefile <- checkMatcher' matcher mi mempty
|
||||
|
|
|
@ -383,7 +383,7 @@ addAnnexedFile ci matcher file key mtmp = ifM (addUnlocked matcher mi (isJust mt
|
|||
af = AssociatedFile (Just file)
|
||||
mi = case mtmp of
|
||||
Just tmp -> MatchingFile $ FileInfo
|
||||
{ contentFile = Just tmp
|
||||
{ contentFile = tmp
|
||||
, matchFile = file
|
||||
, matchKey = Just key
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue