summaryrefslogtreecommitdiff
path: root/git-annex.hs
blob: 77faea2b783b3008d3a19fca838e3e65349a3776 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{- git-annex main program
 - -}

import LocationLog
import GitRepo
import Backend

-- When adding a new backend, import it here and add it to the backends list.
import qualified BackendFile
import qualified BackendUrl
backends = [BackendFile.backend, BackendUrl.backend]

main = do
	repo <- repoTop
	gitPrep repo

	l <- readLog "demo.log"
	writeLog "demo2.log" $ compactLog l