git-annex/doc
Joey Hess 9aab70de66 always check with ls-files before adding new files
Makes it safe to use git annex unlock with the watcher/assistant.
And also to mix use of the watcher/assistant with regular files stored in git.

Long ago, I had avoided doing this check, except during the startup scan,
because it would be slow to run ls-files repeatedly.

But then I added the lsof check, and to make that fast, got it to detect
batch file adds. So let's move the ls-files check to also occur when it'll
have a batch, and can check them all with one call.

This does slow down adding a single file by just a bit, but really only
a little bit. (The lsof check is probably more expensive.) It also
speeds up the startup scan, especially when there are lots of new files
found by the scan.

Also, fixed the sleep for annex.delayadd to not run while the threadstate
lock is held, so it doesn't unnecessarily freeze everything else.

Also, --force no longer makes it skip the lsof check, which was not
documented, and seems never a good idea.
2012-10-02 17:41:23 -04:00
..
assistant update 2012-09-27 16:51:15 -04:00
backends Added a comment: SHA performance 2012-08-10 04:37:33 +00:00
bugs bring back default SIGINT handler 2012-10-01 23:01:29 -04:00
design always check with ls-files before adding new files 2012-10-02 17:41:23 -04:00
download Added a comment 2012-08-16 23:28:31 +00:00
encryption
forum Added a comment 2012-09-29 16:03:36 +00:00
install add warning 2012-09-28 21:00:59 -04:00
license standalone linux app nearly ready 2012-09-28 19:08:13 -04:00
news add news item for git-annex 3.20121001 2012-10-01 14:14:05 -04:00
not Added a comment 2012-09-27 10:17:18 +00:00
special_remotes store S3 creds in a 600 mode file inside the local git repo 2012-09-26 14:42:32 -04:00
sync removed 2012-08-20 14:44:08 +00:00
templates
tips link 2012-09-27 19:00:32 -04:00
todo Wikilink to the command in question. 2012-10-01 11:33:51 +00:00
upgrades
use_case
users
walkthrough Added a comment: sorta why git-annex exists in the first place -- not only the slow index 2012-09-25 22:04:01 +00:00
assistant.mdwn fix link 2012-09-24 15:22:41 -04:00
backends.mdwn SHA256E is new default backend 2012-09-12 13:22:16 -04:00
bare_repositories.mdwn
bugs.mdwn
comments.mdwn
contact.mdwn foo 2012-09-27 20:28:28 -04:00
contributing.mdwn
copies.mdwn
design.mdwn
distributed_version_control.mdwn
download.mdwn assistant branch merged in 2012-08-27 15:01:05 -04:00
encryption.mdwn
favicon.ico
feeds.mdwn
forum.mdwn
future_proofing.mdwn
git-annex-shell.mdwn hooked up git-annex-shell transferinfo 2012-09-21 23:25:06 -04:00
git-annex.mdwn A way to match files in repositories in a group 2012-10-01 18:25:11 -04:00
git-union-merge.mdwn
how_it_works.mdwn
index.mdwn remove download link from sidebar; install link is the key one 2012-09-28 20:58:01 -04:00
install.mdwn tweak 2012-09-28 20:59:00 -04:00
internals.mdwn group, ungroup: New commands to indicate groups of repositories. 2012-10-01 15:12:04 -04:00
license.mdwn Add OSX standalone app license bundle, and arrange for the About page 2012-09-27 16:47:52 -04:00
location_tracking.mdwn
logo-bw.svg add svg versions of the git-annex logo, in color and black and white 2012-08-19 21:18:21 -04:00
logo.png
logo.svg add svg versions of the git-annex logo, in color and black and white 2012-08-19 21:18:21 -04:00
logo_small.png
meta.mdwn
news.mdwn
not.mdwn
repomap.png
scalability.mdwn
sitemap.mdwn
special_remotes.mdwn
summary.mdwn remove unnecessary para 2012-08-27 15:04:58 -04:00
sync.mdwn fixed typo: repositry 2012-07-28 21:09:23 +00:00
testimonials.mdwn
tips.mdwn
todo.mdwn
transferring_data.mdwn
trust.mdwn
upgrades.mdwn
users.mdwn
walkthrough.mdwn