diff options
author | 2013-08-02 18:31:01 -0400 | |
---|---|---|
committer | 2013-08-02 18:32:26 -0400 | |
commit | addc505584876cca50ccdcd1c982e9a5e10ec9b1 (patch) | |
tree | 9da1fe90f8d96a038f939a9fc05d64c7af7e3369 /Assistant/Threads/Committer.hs | |
parent | 5921e627d75758101ccb38f76c83c3917ae897b7 (diff) |
better git version checking
Diffstat (limited to 'Assistant/Threads/Committer.hs')
-rw-r--r-- | Assistant/Threads/Committer.hs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Assistant/Threads/Committer.hs b/Assistant/Threads/Committer.hs index e069bda21..be3bc3c84 100644 --- a/Assistant/Threads/Committer.hs +++ b/Assistant/Threads/Committer.hs @@ -22,7 +22,7 @@ import Logs.Location import qualified Annex.Queue import qualified Git.Command import qualified Git.LsFiles -import qualified Git.Version +import qualified Git.BuildVersion import qualified Command.Add import Utility.ThreadScheduler import qualified Utility.Lsof as Lsof @@ -234,9 +234,9 @@ commitStaged = do , Param "--no-verify" ] nomessage ps - | Git.Version.older "1.7.2" = + | Git.BuildVersion.older "1.7.2" = Param "-m" : Param "autocommit" : ps - | Git.Version.older "1.7.8" = + | Git.BuildVersion.older "1.7.8" = Param "--allow-empty-message" : Param "-m" : Param "" : ps | otherwise = |