remove some monkey faces
This commit is contained in:
		
					parent
					
						
							
								c87ecaa543
							
						
					
				
			
			
				commit
				
					
						a542781f6a
					
				
			
		
					 3 changed files with 7 additions and 7 deletions
				
			
		| 
						 | 
				
			
			@ -48,10 +48,10 @@ handleDropsFrom locs rs reason fromhere key afile knownpresentremote runner = do
 | 
			
		|||
	fs <- ifM isDirect
 | 
			
		||||
		( do
 | 
			
		||||
			l <- associatedFilesRelative key
 | 
			
		||||
			if null l
 | 
			
		||||
				then return $ maybe [] (:[]) afile
 | 
			
		||||
				else return l
 | 
			
		||||
		, return $ maybe [] (:[]) afile
 | 
			
		||||
			return $ if null l
 | 
			
		||||
				then maybeToList afile
 | 
			
		||||
				else l
 | 
			
		||||
		, return $ maybeToList afile
 | 
			
		||||
		)
 | 
			
		||||
	n <- getcopies fs
 | 
			
		||||
	if fromhere && checkcopies n Nothing
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -253,7 +253,7 @@ upgradingAlert = activityAlert Nothing [ fromString "Upgrading git-annex" ]
 | 
			
		|||
 | 
			
		||||
upgradeFinishedAlert :: Maybe AlertButton -> GitAnnexVersion -> Alert
 | 
			
		||||
upgradeFinishedAlert button version =
 | 
			
		||||
	baseUpgradeAlert (maybe [] (:[]) button) $ fromString $ 
 | 
			
		||||
	baseUpgradeAlert (maybeToList button) $ fromString $ 
 | 
			
		||||
		"Finished upgrading git-annex to version " ++ version
 | 
			
		||||
 | 
			
		||||
upgradeFailedAlert :: String -> Alert
 | 
			
		||||
| 
						 | 
				
			
			@ -317,7 +317,7 @@ pairRequestAcknowledgedAlert who button = baseActivityAlert
 | 
			
		|||
	, alertPriority = High
 | 
			
		||||
	, alertName = Just $ PairAlert who
 | 
			
		||||
	, alertCombiner = Just $ dataCombiner $ \_old new -> new
 | 
			
		||||
	, alertButtons = maybe [] (:[]) button
 | 
			
		||||
	, alertButtons = maybeToList button
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
xmppNeededAlert :: AlertButton -> Alert
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -158,7 +158,7 @@ commitStaged commitmessage = go =<< inRepo Git.Branch.currentUnsafe
 | 
			
		|||
	go (Just branch) = do
 | 
			
		||||
		parent <- inRepo $ Git.Ref.sha branch
 | 
			
		||||
		void $ inRepo $ Git.Branch.commit False commitmessage branch
 | 
			
		||||
			(maybe [] (:[]) parent)
 | 
			
		||||
			(maybeToList parent)
 | 
			
		||||
		return True
 | 
			
		||||
 | 
			
		||||
mergeLocal :: Maybe Git.Ref -> CommandStart
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue