avoid build warning on windows
Since append was only exported by Annex.Common on unix, excluding it from import caused a build warning on windows.
This commit is contained in:
parent
07baa7ffcf
commit
a69871491f
2 changed files with 2 additions and 2 deletions
|
@ -52,7 +52,7 @@ import Control.Concurrent.MVar
|
||||||
import qualified System.FilePath.ByteString as P
|
import qualified System.FilePath.ByteString as P
|
||||||
import System.PosixCompat.Files (isRegularFile)
|
import System.PosixCompat.Files (isRegularFile)
|
||||||
|
|
||||||
import Annex.Common hiding (append)
|
import Annex.Common
|
||||||
import Types.BranchState
|
import Types.BranchState
|
||||||
import Annex.BranchState
|
import Annex.BranchState
|
||||||
import Annex.Journal
|
import Annex.Journal
|
||||||
|
|
|
@ -12,5 +12,5 @@ import Annex.Debug as X (fastDebug, debug)
|
||||||
import Messages as X
|
import Messages as X
|
||||||
import Git.Quote as X
|
import Git.Quote as X
|
||||||
#ifndef mingw32_HOST_OS
|
#ifndef mingw32_HOST_OS
|
||||||
import System.Posix.IO as X hiding (createPipe)
|
import System.Posix.IO as X hiding (createPipe, append)
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue