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

import LocationLog
import GitRepo
import Backend
import Annex

-- 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