New annex.largefiles setting, which configures which files `git annex add` and the...
authorJoey Hess <joey@kitenet.net>
Fri, 29 Mar 2013 20:17:13 +0000 (16:17 -0400)
committerJoey Hess <joey@kitenet.net>
Fri, 29 Mar 2013 20:17:13 +0000 (16:17 -0400)
commit67e817c6a1c6a96a5507b001b0e70297dc1ba73b
treee57188376a03f4c85d1045e5d451bc4109dd5c89
parentdd6c3deccf5455f0a2fc39c4379f71351b48dd4a
New annex.largefiles setting, which configures which files `git annex add` and the assistant add to the annex.

I would have sort of liked to put this in .gitattributes, but it seems
it does not support multi-word attribute values. Also, making this a single
config setting makes it easy to only parse the expression once.

A natural next step would be to make the assistant `git add` files that
are not annex.largefiles. OTOH, I don't think `git annex add` should
`git add` such files, because git-annex command line tools are
not in the business of wrapping git command line tools.
Annex/FileMatcher.hs [new file with mode: 0644]
Assistant/Threads/Watcher.hs
Command/Add.hs
Limit.hs
Logs/PreferredContent.hs
Types/GitConfig.hs
debian/changelog
doc/git-annex.mdwn