From d72c5cc337ba7e88b84b26719114b45a67beded0 Mon Sep 17 00:00:00 2001 From: "seanl@fe5df935169a5440a52bdbfc5fece85cdd002d68" Date: Tue, 26 Jan 2021 01:05:19 +0000 Subject: [PATCH] --- .../exporttree_+_importtree_+_wanted___61___deleted_files.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/bugs/exporttree_+_importtree_+_wanted___61___deleted_files.mdwn b/doc/bugs/exporttree_+_importtree_+_wanted___61___deleted_files.mdwn index 4cd573259e..666fc6fee5 100644 --- a/doc/bugs/exporttree_+_importtree_+_wanted___61___deleted_files.mdwn +++ b/doc/bugs/exporttree_+_importtree_+_wanted___61___deleted_files.mdwn @@ -1,6 +1,6 @@ ### Please describe the problem. -I am trying to use git-annex to keep files in sync between a server and my music player. I don't want everything on the server to go to the music player, so I have a "wanted" expression defined: `exclude=*/archive/* and (include=ASMR/* or include=Music/* or include=Mods/* or include=Playlists/*). My expectation was that `git annex sync` would ignore any files that didn't match wanted on the remote, and indeed the first time I run it it does. However, the second time I run it, it deletes any local files that aren't on the remote. Presumably git-annex thinks those files were deleted on the remote because its tracking branch is descended from the branch in which the files were created. +I am trying to use git-annex to keep files in sync between a server and my music player. I don't want everything on the server to go to the music player, so I have a "wanted" expression defined: `exclude=*/archive/* and (include=ASMR/* or include=Music/* or include=Mods/* or include=Playlists/*)`. My expectation was that `git annex sync` would ignore any files that didn't match wanted on the remote, and indeed the first time I run it it does. However, the second time I run it, it deletes any local files that aren't on the remote. Presumably git-annex thinks those files were deleted on the remote because its tracking branch is descended from the branch in which the files were created. ### What steps will reproduce the problem? -- 2.30.2