fix by improving docs

This commit is contained in:
Joey Hess 2021-05-19 11:13:53 -04:00
parent 64e26287dd
commit 84366fa2d0
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
3 changed files with 24 additions and 0 deletions

View 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]]

View file

@ -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.
"""]]

View 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