From 53fdd34f79662e6732a0b5e43b88a815e8166682 Mon Sep 17 00:00:00 2001 From: spwhitton Date: Wed, 18 Dec 2019 05:17:42 +0000 Subject: [PATCH] add todo --- doc/todo/making_it_easier_to_smudge_dotfiles.mdwn | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 doc/todo/making_it_easier_to_smudge_dotfiles.mdwn diff --git a/doc/todo/making_it_easier_to_smudge_dotfiles.mdwn b/doc/todo/making_it_easier_to_smudge_dotfiles.mdwn new file mode 100644 index 0000000000..0e392c48ac --- /dev/null +++ b/doc/todo/making_it_easier_to_smudge_dotfiles.mdwn @@ -0,0 +1,5 @@ +I want to add some dotfiles in the root of my repository to git-annex as unlocked annexed files. So I edited `.git/info/attributes` to remove the line `.* !filter`, such that it only contains the line `* filter=annex`. This seems to be working fine. + +I was thinking that it might make sense to have a `git annex config` option to tell git-annex not to add the `.* !filter` line to `.git/info/attributes` when initialising other clones of this repo. In the meantime, I've worked around it using a `post_checkout` hook in my `~/.mrconfig` which edits `.git/info/attributes`. + +--spwhitton