summaryrefslogtreecommitdiff
path: root/Remote/Helper/Messages.hs
blob: 3088a9ab2b0fe0c3d1feb1c33ea87376d1f9f74c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{- git-annex remote messages
 -
 - Copyright 2013 Joey Hess <joey@kitenet.net>
 -
 - Licensed under the GNU GPL version 3 or higher.
 -}

module Remote.Helper.Messages where

import Common.Annex
import qualified Git

showChecking :: Git.Repo -> Annex ()
showChecking r = showAction $ "checking " ++ Git.repoDescribe r

cantCheck :: Git.Repo -> a
cantCheck r = error $ "unable to check " ++ Git.repoDescribe r