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.
		
			
				
	
	
		
			22 lines
		
	
	
	
		
			388 B
			
		
	
	
	
		
			Haskell
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
	
		
			388 B
			
		
	
	
	
		
			Haskell
		
	
	
	
	
	
{- git remote removal
 | 
						|
 -
 | 
						|
 - Copyright 2012 Joey Hess <id@joeyh.name>
 | 
						|
 -
 | 
						|
 - Licensed under the GNU AGPL version 3 or higher.
 | 
						|
 -}
 | 
						|
 | 
						|
{-# LANGUAGE CPP #-}
 | 
						|
 | 
						|
module Git.Remote.Remove where
 | 
						|
 | 
						|
import Common
 | 
						|
import Git
 | 
						|
import Git.Types
 | 
						|
import qualified Git.Command
 | 
						|
 | 
						|
remove :: RemoteName -> Repo -> IO ()
 | 
						|
remove remotename = Git.Command.run
 | 
						|
	[ Param "remote"
 | 
						|
	, Param "remove"
 | 
						|
	, Param remotename
 | 
						|
	]
 |