]> git.scottworley.com Git - annex-ec/commitdiff
Anchor gitattribute paths to current directory
authorScott Worley <scottworley@scottworley.com>
Wed, 8 Apr 2026 15:47:31 +0000 (08:47 -0700)
committerScott Worley <scottworley@scottworley.com>
Wed, 8 Apr 2026 15:47:31 +0000 (08:47 -0700)
annex-ec

index a8cf2981e76c4af6e510a1be22c6236b6ec3ee35..9eae1255a349b1e96e607a29632808954fec6b5c 100755 (executable)
--- a/annex-ec
+++ b/annex-ec
@@ -123,7 +123,7 @@ for f;do
   f=${f//\*/\\*}
   f=${f//\?/\\?}
   f=${f// /[[:space:]]}
-  echo "$f annex.numcopies=1" >> .gitattributes
+  echo "/$f annex.numcopies=1" >> .gitattributes
 done
 
 for volume in here "${volumes[@]}";do