diff options
author | Joey Hess <joeyh@joeyh.name> | 2015-12-04 17:57:15 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2015-12-04 17:57:15 -0400 |
commit | cf9af38cf75618e2953c5b537d8f7c1fe353aa63 (patch) | |
tree | b5945e5f46eab01366ab3ddbe96662f9b8d96aa3 /doc/todo | |
parent | 93eaf6d6d018fe9df5b985e47300f549e4b04709 (diff) |
init: Configure .git/info/attributes to use git-annex as a smudge filter.
Note that this changes the default behavior of git add in a newly
initialized repository; it will add files to the annex.
Don't like that this could break workflows, but it's necessary in order for
any pointer files in the repo to be handled by git-annex.
Diffstat (limited to 'doc/todo')
-rw-r--r-- | doc/todo/smudge.mdwn | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/todo/smudge.mdwn b/doc/todo/smudge.mdwn index 7a232123a..d08d600ae 100644 --- a/doc/todo/smudge.mdwn +++ b/doc/todo/smudge.mdwn @@ -306,7 +306,9 @@ just look at the repo content in the first place.. annex.version changes to 6 -On upgrade, update $GIT_DIR/info/attributes with a stock configuration, +git config for filter.annex.smudge and filter.annex.clean is set up. + +.gitattributes is updated with a stock configuration, unless it already mentions "filter=annex". Upgrading a direct mode repo needs to switch it out of bare mode, and |