enable debug output
When annex.debug is set, since --debug is not implemented for git-remote-annex.
This commit is contained in:
parent
d2efa141bb
commit
80d236b789
1 changed files with 2 additions and 0 deletions
|
@ -80,6 +80,8 @@ run _ = giveup "expected remote name and url parameters"
|
||||||
run' :: SpecialRemoteConfig -> String -> Annex ()
|
run' :: SpecialRemoteConfig -> String -> Annex ()
|
||||||
run' src url = do
|
run' src url = do
|
||||||
sab <- startAnnexBranch
|
sab <- startAnnexBranch
|
||||||
|
whenM (Annex.getRead Annex.debugenabled) $
|
||||||
|
enableDebugOutput
|
||||||
-- Prevent any usual git-annex output to stdout, because
|
-- Prevent any usual git-annex output to stdout, because
|
||||||
-- the output of this command is being parsed by git.
|
-- the output of this command is being parsed by git.
|
||||||
doQuietAction $
|
doQuietAction $
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue