parent
f9f9215d2c
commit
07de0e7e9d
2 changed files with 1 additions and 2 deletions
1
Annex.hs
1
Annex.hs
|
@ -215,7 +215,6 @@ new :: Git.Repo -> IO AnnexState
|
|||
new r = do
|
||||
r' <- Git.Config.read =<< Git.relPath r
|
||||
let c = extractGitConfig r'
|
||||
print =<< fixupRepo r' c
|
||||
newState c =<< fixupRepo r' c
|
||||
|
||||
{- Performs an action in the Annex monad from a starting state,
|
||||
|
|
|
@ -277,7 +277,7 @@ processHandle (_, _, _, pid) = pid
|
|||
|
||||
-- | Shows the command that a CreateProcess will run.
|
||||
showCmd :: CreateProcess -> String
|
||||
showCmd p = go (cmdspec p) ++ " " ++ show (env p)
|
||||
showCmd = go . cmdspec
|
||||
where
|
||||
go (ShellCommand s) = s
|
||||
go (RawCommand c ps) = c ++ " " ++ show ps
|
||||
|
|
Loading…
Add table
Reference in a new issue