avoid build warning on windows
authorJoey Hess <joeyh@joeyh.name>
Tue, 26 Mar 2024 17:16:33 +0000 (13:16 -0400)
committerJoey Hess <joeyh@joeyh.name>
Tue, 26 Mar 2024 17:16:33 +0000 (13:16 -0400)
Since append was only exported by Annex.Common on unix, excluding it
from import caused a build warning on windows.

Annex/Branch.hs
Annex/Common.hs

index 42942d886f67938e0fec2c901bfc659592980119..9b5365b4567a2b941dfd3fd0b78ce88c864c4a45 100644 (file)
@@ -52,7 +52,7 @@ import Control.Concurrent.MVar
 import qualified System.FilePath.ByteString as P
 import System.PosixCompat.Files (isRegularFile)
 
-import Annex.Common hiding (append)
+import Annex.Common
 import Types.BranchState
 import Annex.BranchState
 import Annex.Journal
index 13174c0b3708920be0ce6011a009c94b613b48f6..0fc602205a029339cbf9053925549b59c2e83dfd 100644 (file)
@@ -12,5 +12,5 @@ import Annex.Debug as X (fastDebug, debug)
 import Messages as X
 import Git.Quote as X
 #ifndef mingw32_HOST_OS
-import System.Posix.IO as X hiding (createPipe)
+import System.Posix.IO as X hiding (createPipe, append)
 #endif