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.
This commit is contained in:
parent
fb6ebdaae7
commit
2fe21d47c5
6 changed files with 60 additions and 21 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue