summaryrefslogtreecommitdiff
path: root/Git
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-02-02 15:18:17 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-02-02 15:18:17 -0400
commit8adf318558c74393fbed0a746465c9b8e29a63a0 (patch)
tree410cbb527939465949ce0f99ac2d2d3f686b74ce /Git
parent81457e02ddf833df56112a8afaf25f57ecd07076 (diff)
annex.largefiles can be configured in .gitattributes too
This is particulary useful for v6 repositories, since the .gitattributes configuration will apply in all clones of the repository.
Diffstat (limited to 'Git')
-rw-r--r--Git/CheckAttr.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/Git/CheckAttr.hs b/Git/CheckAttr.hs
index 23ed22621..465bbbad3 100644
--- a/Git/CheckAttr.hs
+++ b/Git/CheckAttr.hs
@@ -92,3 +92,6 @@ checkAttr (h, attrs, oldgit, currdir) want file = do
sep = ": " ++ attr ++ ": "
getattrvalues (_filename:attr:val:rest) c = getattrvalues rest ((attr,val):c)
getattrvalues _ c = c
+
+unspecifiedAttr :: String
+unspecifiedAttr = "!"