Git: rename isRepo to isGitDir

Signed-off-by: Félix Sipma <felix.sipma@no-log.org>
This commit is contained in:
Félix Sipma 2014-11-17 21:00:10 +01:00 committed by Joey Hess
parent f3beea212c
commit fbd8ea3b3d
1 changed files with 2 additions and 2 deletions

View File

@ -92,5 +92,5 @@ cloned owner url dir mbranch = check originurl (property desc checkout)
, Just "git update-server-info"
]
isRepo :: FilePath -> IO Bool
isRepo dir = isNothing <$> catchMaybeIO (readProcess "git" ["rev-parse", "--resolve-git-dir", dir])
isGitDir :: FilePath -> IO Bool
isGitDir dir = isNothing <$> catchMaybeIO (readProcess "git" ["rev-parse", "--resolve-git-dir", dir])