From: Scott Worley Date: Wed, 8 Apr 2026 15:47:31 +0000 (-0700) Subject: Anchor gitattribute paths to current directory X-Git-Url: http://git.scottworley.com/annex-ec/commitdiff_plain/1e7bbbad7baddaeb17e3b6f2a886e9483d292acf?ds=sidebyside Anchor gitattribute paths to current directory --- diff --git a/annex-ec b/annex-ec index a8cf298..9eae125 100755 --- 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