(no commit message)
authorseanl@fe5df935169a5440a52bdbfc5fece85cdd002d68 <seanl@web>
Tue, 26 Jan 2021 01:05:19 +0000 (01:05 +0000)
committeradmin <admin@branchable.com>
Tue, 26 Jan 2021 01:05:19 +0000 (01:05 +0000)
doc/bugs/exporttree_+_importtree_+_wanted___61___deleted_files.mdwn

index 4cd573259e440a8331f62b9c0038e1221e8cd626..666fc6fee53fca72105d4124a64411db42fd0300 100644 (file)
@@ -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?