From 8c61246c6877afee56e39463aebf37844078027a Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 8 Jul 2014 12:46:15 -0400 Subject: Fix git version that supported --no-gpg-sign. This is weird, git describe said the commit landed in 1.8.5, but 1.9.3 does not have it on OSX. Assume 2.0.0. --- Git/Branch.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Git') diff --git a/Git/Branch.hs b/Git/Branch.hs index 3f2496ca3..0b7d888b8 100644 --- a/Git/Branch.hs +++ b/Git/Branch.hs @@ -113,7 +113,7 @@ data CommitMode = ManualCommit | AutomaticCommit applyCommitMode :: CommitMode -> [CommandParam] -> [CommandParam] applyCommitMode commitmode ps - | commitmode == AutomaticCommit && not (Git.BuildVersion.older "1.8.5") = + | commitmode == AutomaticCommit && not (Git.BuildVersion.older "2.0.0") = Param "--no-gpg-sign" : ps | otherwise = ps -- cgit v1.2.3