diff options
Diffstat (limited to 'docs/magit.texi')
| -rw-r--r-- | docs/magit.texi | 61 |
1 files changed, 26 insertions, 35 deletions
diff --git a/docs/magit.texi b/docs/magit.texi index e9bd7ec..a9321dd 100644 --- a/docs/magit.texi +++ b/docs/magit.texi @@ -2374,11 +2374,10 @@ sections are available. There is one additional command. @kindex k @findex magit-process-kill This command kills the process represented by the section at point. -@end table -@defvar magit-git-debug -This option controls whether additional reporting of git errors is -enabled. +@item @kbd{M-x magit-toggle-git-debug} +@findex magit-toggle-git-debug +This command toggles whether additional git errors are reported. Magit basically calls git for one of these two reasons: for side-effects or to do something with its standard output. @@ -2387,25 +2386,18 @@ When git is run for side-effects then its output, including error messages, go into the process buffer which is shown when using @code{$}. When git's output is consumed in some way, then it would be too -expensive to also insert it into this buffer, but when this -option is non-nil and git returns with a non-zero exit status, -then at least its standard error is inserted into this buffer. - -This is only intended for debugging purposes. Do not enable this -permanently, that would negatively affect performance. - -This is only intended for debugging purposes. Do not enable this -permanently, that would negatively affect performance. Also note -that just because git exits with a non-zero exit status and prints -an error message that usually doesn't mean that it is an error as -far as Magit is concerned, which is another reason we usually hide -these error messages. Whether some error message is relevant in -the context of some unexpected behavior has to be judged on a case -by case basis. - -The command @code{magit-toggle-git-debug} changes the value of this -variable. -@end defvar +expensive to also insert it into this buffer, but with this command +that can be enabled temporarily. In that case, if git returns with +a non-zero exit status, then at least its standard error is inserted +into this buffer. + +Also note that just because git exits with a non-zero status and +prints an error message, that usually doesn't mean that it is an +error as far as Magit is concerned, which is another reason we +usually hide these error messages. Whether some error message is +relevant in the context of some unexpected behavior has to be judged +on a case by case basis. +@end table @defvar magit-process-extreme-logging This option controls whether @code{magit-process-file} logs to the @@ -11424,18 +11416,17 @@ When git is run for side-effects then its output, including error messages, go into the process buffer which is shown when using @code{$}. When git's output is consumed in some way, then it would be too -expensive to also insert it into this buffer, but when this -option is non-nil and git returns with a non-zero exit status, -then at least its standard error is inserted into this buffer. - -This is only intended for debugging purposes. Do not enable this -permanently, that would negatively affect performance. Also note -that just because git exits with a non-zero exit status and prints -an error message that usually doesn't mean that it is an error as -far as Magit is concerned, which is another reason we usually hide -these error messages. Whether some error message is relevant in -the context of some unexpected behavior has to be judged on a case -by case basis. +expensive to also insert it into this buffer, but with this command +that can be enabled temporarily. In that case, if git returns with +a non-zero exit status, then at least its standard error is inserted +into this buffer. + +Also note that just because git exits with a non-zero status and +prints an error message, that usually doesn't mean that it is an +error as far as Magit is concerned, which is another reason we +usually hide these error messages. Whether some error message is +relevant in the context of some unexpected behavior has to be judged +on a case by case basis. @item @kbd{M-x magit-toggle-verbose-refresh} @findex magit-toggle-verbose-refresh |
