bug
authorJoey Hess <joeyh@joeyh.name>
Mon, 19 Oct 2020 19:24:38 +0000 (15:24 -0400)
committerJoey Hess <joeyh@joeyh.name>
Mon, 19 Oct 2020 19:24:38 +0000 (15:24 -0400)
doc/bugs/add_--largerthan_reversion.mdwn [new file with mode: 0644]
doc/forum/Matching_options_not_working_in_windows_7/comment_2_b0319c1214c26f64058eb9c38ef6fb0d._comment [new file with mode: 0644]

diff --git a/doc/bugs/add_--largerthan_reversion.mdwn b/doc/bugs/add_--largerthan_reversion.mdwn
new file mode 100644 (file)
index 0000000..850efdf
--- /dev/null
@@ -0,0 +1,20 @@
+`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.
+
+Rather than being global options, --largerthan and --smallerthan, 
+could added by each command, so the command can specify how the size
+should be determined. Finding a way to do that w/o needing to add
+boilerplate to many commands would be best.
diff --git a/doc/forum/Matching_options_not_working_in_windows_7/comment_2_b0319c1214c26f64058eb9c38ef6fb0d._comment b/doc/forum/Matching_options_not_working_in_windows_7/comment_2_b0319c1214c26f64058eb9c38ef6fb0d._comment
new file mode 100644 (file)
index 0000000..47f7f69
--- /dev/null
@@ -0,0 +1,7 @@
+[[!comment format=mdwn
+ username="joey"
+ subject="""comment 2"""
+ date="2020-10-19T19:12:25Z"
+ content="""
+Opened a bug, [[bugs/add_--largerthan_reversion]]
+"""]]