]> git.scottworley.com Git - annex-ec/commitdiff
Fix bug: Clear local volume too
authorScott Worley <scottworley@scottworley.com>
Mon, 16 Mar 2026 17:43:18 +0000 (10:43 -0700)
committerScott Worley <scottworley@scottworley.com>
Mon, 16 Mar 2026 17:43:18 +0000 (10:43 -0700)
annex-ec

index b6170e6f7922d9d1fdca5927eb9d7b68714a11c4..904151281c126ed3828bbf27be389e2f1571ee07 100755 (executable)
--- a/annex-ec
+++ b/annex-ec
@@ -107,7 +107,7 @@ i=0
 for f;do
   target_volume="${volumes[i]}"
   echo "${f// /[[:space:]]} annex.numcopies=1" >> .gitattributes
-  for volume in "${volumes[@]}";do
+  for volume in here "${volumes[@]}";do
     if [[ "$volume" != "$target_volume" ]]; then
       if [[ "$volume" == here ]];then
         git annex drop "$f"