annex.debug can now be set to enable debug logging by default. The webapp's debugging check box does this.
This commit is contained in:
parent
9200e9a5f9
commit
fa1c1e0f65
7 changed files with 33 additions and 7 deletions
|
@ -48,6 +48,8 @@ dispatch fuzzyok allargs allcmds commonoptions fields header getgitrepo = do
|
|||
checkfuzzy
|
||||
forM_ fields $ uncurry Annex.setField
|
||||
sequence_ flags
|
||||
whenM (annexDebug <$> Annex.getGitConfig) $
|
||||
liftIO enableDebugOutput
|
||||
prepCommand cmd params
|
||||
tryRun state' cmd $ [startup] ++ actions ++ [shutdown $ cmdnocommit cmd]
|
||||
where
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue