From 9791d1dfe7083d1564d64a35cb2a37350dcc184f Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 4 Jun 2012 15:14:45 -0400 Subject: [PATCH] update; worked on watch branch today --- doc/design/assistant/inotify.mdwn | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/doc/design/assistant/inotify.mdwn b/doc/design/assistant/inotify.mdwn index 6bb810a755..fd8d56e057 100644 --- a/doc/design/assistant/inotify.mdwn +++ b/doc/design/assistant/inotify.mdwn @@ -8,10 +8,15 @@ useful, it needs to: - notice deleted files and stage the deletion (tricky; there's a race with add..) - notice renamed files, auto-fix the symlink, and stage the new file location + **done** +- handle cases where directories are moved outside the repo, and stop + watching them **done** +- when a whole directory is deleted, stage removal of its + contents in the index **done** - periodically auto-commit staged changes (avoid autocommitting when lots of changes are coming in) - tunable delays before adding new files, etc -- honor .gitignore, not adding files it excludesa +- honor .gitignore, not adding files it excludes Also to do: