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.
This commit is contained in:
parent
eb015a1c96
commit
eef8e8c51a
2 changed files with 7 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue