From d84371ff73ae224b6c300575ad32632e194774bb Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 9 Nov 2020 14:35:51 -0400 Subject: [PATCH] reproduced --- .../sync_content_copies_unwanted_removed_files.mdwn | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/doc/bugs/sync_content_copies_unwanted_removed_files.mdwn b/doc/bugs/sync_content_copies_unwanted_removed_files.mdwn index f2dd9a9924..7a29c34fdc 100644 --- a/doc/bugs/sync_content_copies_unwanted_removed_files.mdwn +++ b/doc/bugs/sync_content_copies_unwanted_removed_files.mdwn @@ -3,3 +3,15 @@ remote that are not part of the remote's preferred content. In the most recent case, I had moved the file to another directory while the sync was downloading a previous file. I suspect that the file being removed causes preferred content checks to mess up. --[[Joey]] + +> Reproduced reliably as follows: Have a bigfile in the remote +> and a smallfile in the local repo. Have the remote in group source, +> preferred content standard. Have the local repo's preferred content +> `include=*`. Run `git-annex sync -C.` while that's running, `git rm +> smallfile`. (bigfile has to be big enough to give time to run that +> command) +> +> smallfile gets sent to the remote unexpectedly. If it's not deleted +> first, that does not happen. +> +> --[[Joey]]