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.
This commit is contained in:
parent
99b509572d
commit
fef3cd055d
12 changed files with 42 additions and 86 deletions
|
@ -17,7 +17,6 @@ module Git.Merge (
|
|||
import Common
|
||||
import Git
|
||||
import Git.Command
|
||||
import qualified Git.BuildVersion
|
||||
import qualified Git.Version
|
||||
import Git.Branch (CommitMode(..))
|
||||
|
||||
|
@ -33,7 +32,7 @@ merge = merge' []
|
|||
|
||||
merge' :: [CommandParam] -> Ref -> [MergeConfig] -> CommitMode -> Repo -> IO Bool
|
||||
merge' extraparams branch mergeconfig commitmode r
|
||||
| MergeNonInteractive `notElem` mergeconfig || Git.BuildVersion.older "1.7.7.6" =
|
||||
| MergeNonInteractive `notElem` mergeconfig =
|
||||
go [Param $ fromRef branch]
|
||||
| otherwise = go [Param "--no-edit", Param $ fromRef branch]
|
||||
where
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue