summaryrefslogtreecommitdiff
path: root/git-annex.hs
blob: f8c67b1fdddaa3b26db24dd8999f55651d716514 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{- 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 BackendChecksum
import qualified BackendUrl
backends = [BackendFile.backend, BackendChecksum.backend, BackendUrl.backend]

main = do
	repo <- currentRepo
	gitPrep repo

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