diff options
author | Joey Hess <joeyh@joeyh.name> | 2017-12-14 12:55:53 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2017-12-14 12:55:53 -0400 |
commit | 5ca81d114d7ccf0ee984cb03f56ad6ec1d9499f0 (patch) | |
tree | 4b49c7c03e77f356dd3941070509a498d97a3290 /Git/BuildVersion.hs | |
parent | 3a59749f2c0603872109a85c44234dd744d059cc (diff) | |
download | git-repair-5ca81d114d7ccf0ee984cb03f56ad6ec1d9499f0.tar.gz |
Merge from git-annex.
Diffstat (limited to 'Git/BuildVersion.hs')
-rw-r--r-- | Git/BuildVersion.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Git/BuildVersion.hs b/Git/BuildVersion.hs index 50e4a3a..7d1c53a 100644 --- a/Git/BuildVersion.hs +++ b/Git/BuildVersion.hs @@ -8,14 +8,14 @@ module Git.BuildVersion where import Git.Version -import qualified Build.SysConfig +import qualified BuildInfo {- Using the version it was configured for avoids running git to check its - version, at the cost that upgrading git won't be noticed. - This is only acceptable because it's rare that git's version influences - code's behavior. -} buildVersion :: GitVersion -buildVersion = normalize Build.SysConfig.gitversion +buildVersion = normalize BuildInfo.gitversion older :: String -> Bool older n = buildVersion < normalize n |