bugfix: don't add files under .git-annex
That could happen if git annex add -N were used repeatedly..
This commit is contained in:
parent
19daf3fca4
commit
da453ba701
4 changed files with 9 additions and 5 deletions
2
Core.hs
2
Core.hs
|
@ -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]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue