summaryrefslogtreecommitdiff
path: root/Git/CheckAttr.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-08-02 18:31:01 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-08-02 18:32:26 -0400
commitaddc505584876cca50ccdcd1c982e9a5e10ec9b1 (patch)
tree9da1fe90f8d96a038f939a9fc05d64c7af7e3369 /Git/CheckAttr.hs
parent5921e627d75758101ccb38f76c83c3917ae897b7 (diff)
better git version checking
Diffstat (limited to 'Git/CheckAttr.hs')
-rw-r--r--Git/CheckAttr.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Git/CheckAttr.hs b/Git/CheckAttr.hs
index 0bf6a3931..24fa2be87 100644
--- a/Git/CheckAttr.hs
+++ b/Git/CheckAttr.hs
@@ -10,7 +10,7 @@ module Git.CheckAttr where
import Common
import Git
import Git.Command
-import qualified Git.Version
+import qualified Git.BuildVersion
import qualified Utility.CoProcess as CoProcess
type CheckAttrHandle = (CoProcess.CoProcessHandle, [Attr], String)
@@ -54,7 +54,7 @@ checkAttr (h, attrs, cwd) want file = do
- With newer git, git check-attr chokes on some absolute
- filenames, and the bugs that necessitated them were fixed,
- so use relative filenames. -}
- oldgit = Git.Version.older "1.7.7"
+ oldgit = Git.BuildVersion.older "1.7.7"
file'
| oldgit = absPathFrom cwd file
| otherwise = relPathDirToFile cwd $ absPathFrom cwd file