diff options
Diffstat (limited to '.mrconfig.in')
-rw-r--r-- | .mrconfig.in | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/.mrconfig.in b/.mrconfig.in index 42e810f9..b3afda75 100644 --- a/.mrconfig.in +++ b/.mrconfig.in @@ -250,10 +250,11 @@ post_checkout = git annex enableremote cloud git annex group . backup - # `git annex init` adds an additional line to .git/info/attributes - # which disables the smudge filter for dotfiles, but this repo - # needs the smudge filter for dotfiles, so override it - echo "* filter=annex" >.git/info/attributes + # `git annex init` (until v8) adds an additional line to + # .git/info/attributes which disables the smudge filter for + # dotfiles, but this repo needs the smudge filter for dotfiles, so + # override it + sed -i'' .git/info/attributes -e '/^.* !filter$/d' fixups = chmod 600 .passwddb.pet \ |