diff options
author | Joey Hess <joeyh@joeyh.name> | 2019-09-11 16:10:25 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2019-09-11 16:14:43 -0400 |
commit | fef3cd055d926432f683e183567fbbfcda276f54 (patch) | |
tree | e363db00086b020bbfef496c87e137d23e507b00 /Git/Branch.hs | |
parent | 99b509572d250b2a12120335901bdc3a6cdfcb81 (diff) |
Removed support for git versions older than 2.1
debian oldoldstable has 2.1, and that's what i386ancient uses. It would be
better to require git 2.2, which is needed to use adjusted branches, but
can't do that w/o losing support for some old linux kernels or a
complicated git backport.
Diffstat (limited to 'Git/Branch.hs')
-rw-r--r-- | Git/Branch.hs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Git/Branch.hs b/Git/Branch.hs index 9fc4f0996e..2de6f9e0fd 100644 --- a/Git/Branch.hs +++ b/Git/Branch.hs @@ -15,7 +15,6 @@ import Git.Sha import Git.Command import qualified Git.Config import qualified Git.Ref -import qualified Git.BuildVersion {- The currently checked out branch. - @@ -125,8 +124,7 @@ data CommitMode = ManualCommit | AutomaticCommit {- Prevent signing automatic commits. -} applyCommitMode :: CommitMode -> [CommandParam] -> [CommandParam] applyCommitMode commitmode ps - | commitmode == AutomaticCommit && not (Git.BuildVersion.older "2.0.0") = - Param "--no-gpg-sign" : ps + | commitmode == AutomaticCommit = Param "--no-gpg-sign" : ps | otherwise = ps {- Some versions of git commit-tree honor commit.gpgsign themselves, |