2020-10-19 19:24:38 +00:00
|
|
|
`git annex add --largerthan=200mb` of a new file
|
|
|
|
does not add a file that is large enough.
|
|
|
|
|
|
|
|
This is a reversion, introduced last year in
|
|
|
|
[[!commit 3066bdb1fb60e80f40b5badc150fb6eb51a922bb]].
|
|
|
|
|
|
|
|
`git annex import /dir --largerthan=100mb` is also affected, and has an
|
|
|
|
ugly fail mode as it tries to look up an annexed file outside the repo:
|
|
|
|
|
|
|
|
joey@darkstar:~/tmp/t>git annex import --largerthan=100mb ../d
|
|
|
|
fatal: './../d/foo' is outside repository at '/home/joey/tmp/t'
|
|
|
|
|
|
|
|
That commit was otherwise right, eg `git-annex get --largerthan` should
|
|
|
|
look at the size of the annexed file, not of the file on disk, which could
|
|
|
|
be a small pointer file.
|
|
|
|
|
2020-10-19 19:36:18 +00:00
|
|
|
> [[fixed|done]] --[[Joey]]
|