bugfix: don't add files under .git-annex

That could happen if git annex add -N were used repeatedly..
This commit is contained in:
Joey Hess 2010-10-16 22:36:35 -04:00
parent 19daf3fca4
commit da453ba701
4 changed files with 9 additions and 5 deletions

View file

@ -51,7 +51,7 @@ gitAttributes repo = do
commit
else return ()
where
attrLine = stateLoc ++ "/*.log merge=union"
attrLine = stateLoc ++ "*.log merge=union"
attributes = Git.attributes repo
commit = do
Git.run repo ["add", attributes]