From 1f0b0fba0faaa3b50a718bd388c2d2978e85e604 Mon Sep 17 00:00:00 2001 From: "git-annex@17927e6dc041ab425c14217a97a685adf3ecf44f" Date: Wed, 20 Nov 2019 01:37:42 +0000 Subject: [PATCH] Added a comment: git add or git commit does not trigger assistant, but git rm does --- ..._379ff2e840514a3b4f4a426e2aae4a9a._comment | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 doc/forum/Issues_with_webapp___47___assistant_and_gitlab_as_a_metadata_only_repo/comment_4_379ff2e840514a3b4f4a426e2aae4a9a._comment diff --git a/doc/forum/Issues_with_webapp___47___assistant_and_gitlab_as_a_metadata_only_repo/comment_4_379ff2e840514a3b4f4a426e2aae4a9a._comment b/doc/forum/Issues_with_webapp___47___assistant_and_gitlab_as_a_metadata_only_repo/comment_4_379ff2e840514a3b4f4a426e2aae4a9a._comment new file mode 100644 index 0000000000..95c51e5c97 --- /dev/null +++ b/doc/forum/Issues_with_webapp___47___assistant_and_gitlab_as_a_metadata_only_repo/comment_4_379ff2e840514a3b4f4a426e2aae4a9a._comment @@ -0,0 +1,24 @@ +[[!comment format=mdwn + username="git-annex@17927e6dc041ab425c14217a97a685adf3ecf44f" + nickname="git-annex" + avatar="http://cdn.libravatar.org/avatar/66e5c6e044d726597ce5a0ad68f86fe4" + subject="git add or git commit does not trigger assistant, but git rm does" + date="2019-11-20T01:37:41Z" + content=""" +More diagnostics on this one.. + +I create a file that is below the size threshold for annex, but I do have a gitlab upstream. + +1) echo \"foo\" > foo - Assistant (or webapp) does not fire +2) git add foo - Assistant/webapp does not fire +3) git commit -am \"random testing\" - assistant does not fire +4) git annex sync - foo ends up in gitlab + +I remove a file + +1) git rm foo - Assistant fires and file is removed from gitlab + +Is this the expected behavior? If so, why does a git rm trigger annex assistant/webapp, but a git add does not? + + +"""]]