some easy createDirectoryUnder conversions
This commit is contained in:
parent
ebbc5004fa
commit
6d58ca94d6
12 changed files with 44 additions and 30 deletions
|
@ -76,8 +76,9 @@ watchChangedRefs = do
|
|||
chan <- liftIO $ newTBMChanIO 100
|
||||
|
||||
g <- gitRepo
|
||||
let refdir = fromRawFilePath (Git.localGitDir g) </> "refs"
|
||||
liftIO $ createDirectoryIfMissing True refdir
|
||||
let gittop = fromRawFilePath (Git.localGitDir g)
|
||||
let refdir = gittop </> "refs"
|
||||
liftIO $ createDirectoryUnder gittop refdir
|
||||
|
||||
let notifyhook = Just $ notifyHook chan
|
||||
let hooks = mkWatchHooks
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue