From 0fd6f9191ab466952b1ce2c63283eda718608c77 Mon Sep 17 00:00:00 2001 From: Xyem Date: Mon, 8 Apr 2013 18:25:49 +0000 Subject: [PATCH] Added a comment --- ..._b8fdf502c7e80aece5a9544a2078c85c._comment | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 doc/bugs/assistant_does_not_warn_on_files_it_failed_to_add/comment_4_b8fdf502c7e80aece5a9544a2078c85c._comment diff --git a/doc/bugs/assistant_does_not_warn_on_files_it_failed_to_add/comment_4_b8fdf502c7e80aece5a9544a2078c85c._comment b/doc/bugs/assistant_does_not_warn_on_files_it_failed_to_add/comment_4_b8fdf502c7e80aece5a9544a2078c85c._comment new file mode 100644 index 0000000000..33b0500701 --- /dev/null +++ b/doc/bugs/assistant_does_not_warn_on_files_it_failed_to_add/comment_4_b8fdf502c7e80aece5a9544a2078c85c._comment @@ -0,0 +1,36 @@ +[[!comment format=mdwn + username="Xyem" + ip="87.194.19.134" + subject="comment 4" + date="2013-04-08T18:25:48Z" + content=""" +Interesting that you say .gitignore doesn't work with assistant because.. it definitely does. + + $ git init /tmp/annex-test + $ cd /tmp/annex-test + $ git annex init + $ echo \"file.test\" > .gitignore + $ git annex assistant + $ echo \"test1\" > file.test + $ echo \"test2\" > file2.test + +yields this log file: + + (scanning...) [2013-04-08 19:17:03 BST] Watcher: Performing startup scan + (started...) + [2013-04-08 19:17:10 BST] Committer: Adding file2.test + add file2.test (checksum...) [2013-04-08 19:17:10 BST] Committer: Committing changes to git + (Recording state in git...) + (Recording state in git...) + [2013-04-08 19:17:11 BST] Committer: Committing changes to git + +git annex find: + + file2.test + +On the previous files, the log shows all failed files being added to the annex find after the assistant was restarted (daemon.log.1) so I would imagine 'git annex add' would have worked fine too. + +Right now, I'm just running + while true; do git annex add; sleep 1; done +in the annex directory, which gives me (expensive) watch-like behaviour, with fairly clear output for me to confirm everything has been added. +"""]]