cleanup
This commit is contained in:
parent
00988bcf36
commit
3d2a9f8405
11 changed files with 48 additions and 54 deletions
4
Init.hs
4
Init.hs
|
@ -65,9 +65,7 @@ gitPreCommitHookUnWrite = unlessBare $ do
|
|||
" Edit it to remove call to git annex."
|
||||
|
||||
unlessBare :: Annex () -> Annex ()
|
||||
unlessBare a = do
|
||||
g <- gitRepo
|
||||
unless (Git.repoIsLocalBare g) a
|
||||
unlessBare = unlessM $ Git.repoIsLocalBare <$> gitRepo
|
||||
|
||||
preCommitHook :: Annex FilePath
|
||||
preCommitHook = do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue