renamed GitRepo to Git

It was always imported qualified as Git anyway
This commit is contained in:
Joey Hess 2011-06-30 13:16:57 -04:00
parent 5fe02f2807
commit f6063a094e
39 changed files with 45 additions and 47 deletions

View file

@ -18,7 +18,7 @@ module Annex (
import Control.Monad.State import Control.Monad.State
import qualified GitRepo as Git import qualified Git
import GitQueue import GitQueue
import Types.Backend import Types.Backend
import Types.Remote import Types.Remote

View file

@ -39,7 +39,7 @@ import System.Posix.Files
import System.Directory import System.Directory
import Locations import Locations
import qualified GitRepo as Git import qualified Git
import qualified Annex import qualified Annex
import Types import Types
import Types.Key import Types.Key

View file

@ -20,7 +20,7 @@ import Data.String.Utils
import Types.Backend import Types.Backend
import LocationLog import LocationLog
import qualified Remote import qualified Remote
import qualified GitRepo as Git import qualified Git
import Content import Content
import qualified Annex import qualified Annex
import Types import Types

View file

@ -30,7 +30,7 @@ import System.IO.Binary
import qualified Data.ByteString.Char8 as B import qualified Data.ByteString.Char8 as B
import Types.BranchState import Types.BranchState
import qualified GitRepo as Git import qualified Git
import qualified GitUnionMerge import qualified GitUnionMerge
import qualified Annex import qualified Annex
import Utility import Utility

View file

@ -18,7 +18,7 @@ import Control.Monad (when)
import qualified Annex import qualified Annex
import qualified AnnexQueue import qualified AnnexQueue
import qualified GitRepo as Git import qualified Git
import Content import Content
import Types import Types
import Command import Command

View file

@ -21,8 +21,8 @@ import Types
import qualified Backend import qualified Backend
import Messages import Messages
import qualified Annex import qualified Annex
import qualified GitRepo as Git import qualified Git
import qualified GitRepo.LsFiles as LsFiles import qualified Git.LsFiles as LsFiles
import Utility import Utility
import Types.Key import Types.Key

View file

@ -20,7 +20,7 @@ import qualified Annex
import qualified Command.Drop import qualified Command.Drop
import qualified Command.Move import qualified Command.Move
import qualified Remote import qualified Remote
import qualified GitRepo as Git import qualified Git
import Backend import Backend
import Types.Key import Types.Key
import Utility import Utility

View file

@ -13,7 +13,7 @@ import System.Directory
import Command import Command
import qualified Annex import qualified Annex
import qualified GitRepo as Git import qualified Git
import qualified Branch import qualified Branch
import UUID import UUID
import Version import Version

View file

@ -15,7 +15,7 @@ import Data.List.Utils
import Command import Command
import qualified Annex import qualified Annex
import qualified GitRepo as Git import qualified Git
import Messages import Messages
import Types import Types
import Utility import Utility

View file

@ -18,7 +18,7 @@ import qualified Types.Backend as B
import qualified Types.Remote as R import qualified Types.Remote as R
import qualified Remote import qualified Remote
import qualified Command.Unused import qualified Command.Unused
import qualified GitRepo as Git import qualified Git
import Command import Command
import Types import Types
import DataUnits import DataUnits

View file

@ -19,8 +19,8 @@ import qualified Backend
import LocationLog import LocationLog
import Types import Types
import Content import Content
import qualified GitRepo as Git import qualified Git
import qualified GitRepo.LsFiles as LsFiles import qualified Git.LsFiles as LsFiles
import Messages import Messages
command :: [Command] command :: [Command]

View file

@ -14,7 +14,7 @@ import Command
import Messages import Messages
import Types import Types
import Utility import Utility
import qualified GitRepo as Git import qualified Git
import qualified Annex import qualified Annex
import qualified Command.Unannex import qualified Command.Unannex
import qualified Command.Init import qualified Command.Init

View file

@ -22,8 +22,8 @@ import Locations
import Utility import Utility
import LocationLog import LocationLog
import qualified Annex import qualified Annex
import qualified GitRepo as Git import qualified Git
import qualified GitRepo.LsFiles as LsFiles import qualified Git.LsFiles as LsFiles
import qualified Backend import qualified Backend
import qualified Remote import qualified Remote

View file

@ -10,7 +10,7 @@ module Config where
import Data.Maybe import Data.Maybe
import Control.Monad.State (liftIO) import Control.Monad.State (liftIO)
import qualified GitRepo as Git import qualified Git
import qualified Annex import qualified Annex
import Types import Types
import Utility import Utility

View file

@ -36,7 +36,7 @@ import Types
import Locations import Locations
import LocationLog import LocationLog
import UUID import UUID
import qualified GitRepo as Git import qualified Git
import qualified Annex import qualified Annex
import qualified AnnexQueue import qualified AnnexQueue
import qualified Branch import qualified Branch

View file

@ -3,12 +3,12 @@
- This is written to be completely independant of git-annex and should be - This is written to be completely independant of git-annex and should be
- suitable for other uses. - suitable for other uses.
- -
- Copyright 2010 Joey Hess <joey@kitenet.net> - Copyright 2010,2011 Joey Hess <joey@kitenet.net>
- -
- Licensed under the GNU GPL version 3 or higher. - Licensed under the GNU GPL version 3 or higher.
-} -}
module GitRepo ( module Git (
Repo, Repo,
repoFromCwd, repoFromCwd,
repoFromAbsPath, repoFromAbsPath,

View file

@ -5,7 +5,7 @@
- Licensed under the GNU GPL version 3 or higher. - Licensed under the GNU GPL version 3 or higher.
-} -}
module GitRepo.LsFiles ( module Git.LsFiles (
inRepo, inRepo,
notInRepo, notInRepo,
staged, staged,
@ -15,7 +15,7 @@ module GitRepo.LsFiles (
typeChangedStaged, typeChangedStaged,
) where ) where
import GitRepo import Git
import Utility import Utility
{- Scans for files that are checked into git at the specified locations. -} {- Scans for files that are checked into git at the specified locations. -}

View file

@ -9,7 +9,7 @@ module GitAnnex where
import System.Console.GetOpt import System.Console.GetOpt
import qualified GitRepo as Git import qualified Git
import CmdLine import CmdLine
import Command import Command
import Options import Options

View file

@ -21,7 +21,7 @@ import Data.String.Utils
import Control.Monad (unless, forM_) import Control.Monad (unless, forM_)
import Utility import Utility
import qualified GitRepo as Git import qualified Git
{- An action to perform in a git repository. The file to act on {- An action to perform in a git repository. The file to act on
- is not included, and must be able to be appended after the params. -} - is not included, and must be able to be appended after the params. -}

View file

@ -18,7 +18,7 @@ import Data.List
import Data.Maybe import Data.Maybe
import Data.String.Utils import Data.String.Utils
import qualified GitRepo as Git import qualified Git
import Utility import Utility
{- Performs a union merge between two branches, staging it in the index. {- Performs a union merge between two branches, staging it in the index.

View file

@ -34,7 +34,7 @@ import Control.Monad (when)
import Data.Maybe import Data.Maybe
import Control.Monad.State (liftIO) import Control.Monad.State (liftIO)
import qualified GitRepo as Git import qualified Git
import qualified Branch import qualified Branch
import UUID import UUID
import Types import Types

View file

@ -36,7 +36,7 @@ import Data.Hash.MD5
import Types import Types
import Types.Key import Types.Key
import qualified GitRepo as Git import qualified Git
{- Conventions: {- Conventions:
- -

View file

@ -21,7 +21,7 @@ import System.Cmd.Utils
import Types import Types
import Types.Remote import Types.Remote
import qualified GitRepo as Git import qualified Git
import qualified Annex import qualified Annex
import UUID import UUID
import Locations import Locations

View file

@ -18,7 +18,7 @@ import System.FilePath
import Types import Types
import Types.Remote import Types.Remote
import qualified GitRepo as Git import qualified Git
import qualified Annex import qualified Annex
import UUID import UUID
import Locations import Locations

View file

@ -15,7 +15,7 @@ import System.Posix.Files
import Types import Types
import Types.Remote import Types.Remote
import qualified GitRepo as Git import qualified Git
import qualified Annex import qualified Annex
import Locations import Locations
import UUID import UUID

View file

@ -20,7 +20,7 @@ import System.Exit
import Types import Types
import Types.Remote import Types.Remote
import qualified GitRepo as Git import qualified Git
import qualified Annex import qualified Annex
import UUID import UUID
import Locations import Locations

View file

@ -18,7 +18,7 @@ import System.Posix.Process
import Types import Types
import Types.Remote import Types.Remote
import qualified GitRepo as Git import qualified Git
import qualified Annex import qualified Annex
import UUID import UUID
import Locations import Locations

View file

@ -27,7 +27,7 @@ import System.Posix.Env (setEnv)
import Types import Types
import Types.Remote import Types.Remote
import Types.Key import Types.Key
import qualified GitRepo as Git import qualified Git
import qualified Annex import qualified Annex
import UUID import UUID
import Messages import Messages

View file

@ -14,7 +14,7 @@ import Control.Monad.State (liftIO)
import Types import Types
import Types.Remote import Types.Remote
import qualified GitRepo as Git import qualified Git
import qualified Annex import qualified Annex
import UUID import UUID
import Utility import Utility

2
Ssh.hs
View file

@ -9,7 +9,7 @@ module Ssh where
import Control.Monad.State (liftIO) import Control.Monad.State (liftIO)
import qualified GitRepo as Git import qualified Git
import Utility import Utility
import Types import Types
import Config import Config

View file

@ -12,7 +12,7 @@ module Types.Remote where
import Control.Exception import Control.Exception
import Data.Map as M import Data.Map as M
import qualified GitRepo as Git import qualified Git
import Types.Key import Types.Key
type RemoteConfig = M.Map String String type RemoteConfig = M.Map String String

View file

@ -29,7 +29,7 @@ import System.IO
import qualified Data.Map as M import qualified Data.Map as M
import Data.Maybe import Data.Maybe
import qualified GitRepo as Git import qualified Git
import qualified Branch import qualified Branch
import Types import Types
import Types.UUID import Types.UUID

View file

@ -25,8 +25,8 @@ import Locations
import LocationLog import LocationLog
import qualified Annex import qualified Annex
import qualified AnnexQueue import qualified AnnexQueue
import qualified GitRepo as Git import qualified Git
import qualified GitRepo.LsFiles as LsFiles import qualified Git.LsFiles as LsFiles
import Backend import Backend
import Messages import Messages
import Version import Version

View file

@ -16,7 +16,7 @@ import Data.Maybe
import Types.Key import Types.Key
import Types import Types
import qualified Annex import qualified Annex
import qualified GitRepo as Git import qualified Git
import qualified Branch import qualified Branch
import Messages import Messages
import Utility import Utility

View file

@ -11,7 +11,7 @@ import Control.Monad (unless)
import Types import Types
import qualified Annex import qualified Annex
import qualified GitRepo as Git import qualified Git
import Config import Config
type Version = String type Version = String

View file

@ -8,7 +8,7 @@
import System.Environment import System.Environment
import Data.List import Data.List
import qualified GitRepo as Git import qualified Git
import CmdLine import CmdLine
import Command import Command
import Utility import Utility

View file

@ -10,6 +10,4 @@ import System.Environment
import GitAnnex import GitAnnex
main :: IO () main :: IO ()
main = do main = run =<< getArgs
args <- getArgs
run args

View file

@ -11,7 +11,7 @@ import System.Directory
import Control.Monad (when) import Control.Monad (when)
import qualified GitUnionMerge import qualified GitUnionMerge
import qualified GitRepo as Git import qualified Git
header :: String header :: String
header = "Usage: git-union-merge ref ref newref" header = "Usage: git-union-merge ref ref newref"

View file

@ -27,7 +27,7 @@ import System.IO.HVFS (SystemFS(..))
import qualified Annex import qualified Annex
import qualified BackendList import qualified BackendList
import qualified Backend import qualified Backend
import qualified GitRepo as Git import qualified Git
import qualified Locations import qualified Locations
import qualified Utility import qualified Utility
import qualified Types.Backend import qualified Types.Backend