]> dgit.raspbian.org Git - git-annex.git/commitdiff
fix by improving docs
authorJoey Hess <joeyh@joeyh.name>
Wed, 19 May 2021 15:13:53 +0000 (11:13 -0400)
committerJoey Hess <joeyh@joeyh.name>
Wed, 19 May 2021 15:13:53 +0000 (11:13 -0400)
doc/bugs/delayadd_doesn__39__t_work.mdwn
doc/bugs/delayadd_doesn__39__t_work/comment_1_1501fc7de682c0f2920c6c592204268c._comment [new file with mode: 0644]
doc/git-annex.mdwn

index 1cb143cdf9f5f39c8e608934e9ae9f15ad7edfb6..50be127b4a326eec7a2d2c511d3ffba49ec5c982 100644 (file)
@@ -44,3 +44,4 @@ local repository version: 8
 ### Have you had any luck using git-annex before? (Sometimes we get tired of reading bug reports all day and a lil' positive end note does wonders)
 
 
+> [[done]] --[[Joey]]
diff --git a/doc/bugs/delayadd_doesn__39__t_work/comment_1_1501fc7de682c0f2920c6c592204268c._comment b/doc/bugs/delayadd_doesn__39__t_work/comment_1_1501fc7de682c0f2920c6c592204268c._comment
new file mode 100644 (file)
index 0000000..7dd3105
--- /dev/null
@@ -0,0 +1,19 @@
+[[!comment format=mdwn
+ username="joey"
+ subject="""comment 1"""
+ date="2021-05-19T15:08:44Z"
+ content="""
+The assistant scans on startup for changes that happened while it was not
+running, and delayadd does not affect those. It only affects changes while
+the assistant is running.
+
+I don't think it would be possible to make the startup scan respect
+delayadd in general. It could look at mtime, but eg, renaming a file
+does not affect its mtime.
+
+Also, the only reason the feature exists is that it can be annoying, when
+the assistant is running, to have every little change you make to a file
+be recorded; a short delay can let such changes be bundled together.
+
+I will document this and close it.
+"""]]
index f355359bb3bcee778e13f971afaddc1168908278..9f35f626108f1445a0753f39f61aba02142e0d7d 100644 (file)
@@ -1745,6 +1745,10 @@ Remotes are configured using these settings in `.git/config`.
   is not needed, because they already wait for all writers of the file
   to close it.
 
+  Note that this only delays adding files created while the daemon is
+  running. Changes made when it is not running will be added the next time
+  it is started up.
+
 * `annex.expireunused`
 
   Controls what the assistant does about unused file contents