summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/Git.hs
diff options
context:
space:
mode:
authorFélix Sipma2014-11-17 21:00:10 +0100
committerJoey Hess2014-11-17 17:02:31 -0400
commitfbd8ea3b3d46b8cb56f3b9c82847cc849a37f89d (patch)
tree6de78cb8a19dc52e2f42a577fa88d7fa035f1293 /src/Propellor/Property/Git.hs
parentf3beea212c67bea2576e26d1147d412bdd141e9f (diff)
Git: rename isRepo to isGitDir
Signed-off-by: Félix Sipma <felix.sipma@no-log.org>
Diffstat (limited to 'src/Propellor/Property/Git.hs')
-rw-r--r--src/Propellor/Property/Git.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Propellor/Property/Git.hs b/src/Propellor/Property/Git.hs
index eb821597..8d49cbd0 100644
--- a/src/Propellor/Property/Git.hs
+++ b/src/Propellor/Property/Git.hs
@@ -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])