optimisation and memory leak fix
This commit is contained in:
parent
7d458c40db
commit
da62edb42a
2 changed files with 7 additions and 7 deletions
|
@ -71,7 +71,7 @@ unstageFile file repo = do
|
|||
{- A streamer that adds a symlink to the index. -}
|
||||
stageSymlink :: FilePath -> Sha -> Repo -> IO Streamer
|
||||
stageSymlink file sha repo = do
|
||||
line <- updateIndexLine
|
||||
!line <- updateIndexLine
|
||||
<$> pure sha
|
||||
<*> pure SymlinkBlob
|
||||
<*> toTopFilePath file repo
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue