Merge branch 'master' of ssh://git-annex.branchable.com

This commit is contained in:
Joey Hess 2020-05-27 12:46:52 -04:00
commit a6271b1323
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
5 changed files with 49 additions and 0 deletions

View file

@ -0,0 +1,3 @@
It would be nice if I could configure a git repository to be guarded against git-annex. Or even a global git config option to default to not use git-annex but only in specific repositories meant to be used with git-annex.
We've had a source code repository added with git-annex branches (repeatedly) and the user had problems with unwanted git-annex hooks installed in his checkout. I suspect that this was a user error, i.e. running git-annex in the wrong directory, but I would like to put guards into place by disabling git-annex by default and only allowing it for certain specific repos.

View file

@ -0,0 +1,9 @@
[[!comment format=mdwn
username="kyle"
avatar="http://cdn.libravatar.org/avatar/7d6e85cde1422ad60607c87fa87c63f3"
subject="comment 1"
date="2020-05-27T15:19:13Z"
content="""
If you put a .noannex file in the top-level directory of a repo, `git
annex init` will refuse to initialize the repo.
"""]]

View file

@ -0,0 +1,9 @@
[[!comment format=mdwn
username="mike@2d6d71f56ce2a992244350475251df87c26fe351"
nickname="mike"
avatar="http://cdn.libravatar.org/avatar/183fa439752e2f0c6f39ede658d81050"
subject=".noannex"
date="2020-05-27T15:34:54Z"
content="""
Thanks, I didn't know about .noannex!
"""]]