remove stateDir
This commit is contained in:
parent
af10b2854a
commit
9e37898e21
5 changed files with 13 additions and 20 deletions
|
@ -89,3 +89,9 @@ gitAttributesUnWrite repo = do
|
|||
liftIO $ safeWriteFile attributes $ unlines $
|
||||
filter (\l -> not $ l `elem` attrLines) $ lines c
|
||||
Git.run repo "add" [File attributes]
|
||||
|
||||
stateDir :: FilePath
|
||||
stateDir = addTrailingPathSeparator $ ".git-annex"
|
||||
gitStateDir :: Git.Repo -> FilePath
|
||||
gitStateDir repo = addTrailingPathSeparator $ Git.workTree repo </> stateDir
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue