addurl: Fix bug in checking annex.largefiles expressions using largerthan, mimetype, and smallerthan; the first two always failed to match, and the latter always matched.
This commit is contained in:
parent
3c1c3b96fa
commit
6e6d1a8c15
4 changed files with 30 additions and 2 deletions
|
@ -341,7 +341,7 @@ cleanup u url file key mtmp = case mtmp of
|
|||
Nothing -> go
|
||||
Just tmp -> do
|
||||
largematcher <- largeFilesMatcher
|
||||
ifM (checkFileMatcher largematcher file)
|
||||
ifM (checkFileMatcher largematcher tmp)
|
||||
( go
|
||||
, do
|
||||
liftIO $ renameFile tmp file
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue