diff options
| author | Jonas Bernoulli <jonas@bernoul.li> | 2024-10-19 04:05:37 +0200 |
|---|---|---|
| committer | Jonas Bernoulli <jonas@bernoul.li> | 2024-10-19 04:05:37 +0200 |
| commit | cd6cf89d6a306f4fcdcfc497828e8cff39fe43ca (patch) | |
| tree | 0ed3b7a9dd72e150af97e65f2f796a018a0cbcf4 /lisp/magit-git.el | |
| parent | b11524120e880be8c170dbd5a1123955d8629739 (diff) | |
Use different face for debug-only process sections
Diffstat (limited to 'lisp/magit-git.el')
| -rw-r--r-- | lisp/magit-git.el | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lisp/magit-git.el b/lisp/magit-git.el index 50b82a3..5ec9021 100644 --- a/lisp/magit-git.el +++ b/lisp/magit-git.el @@ -59,7 +59,7 @@ (section exit-code)) (declare-function magit-process-git "magit-process" (destination &rest args)) (declare-function magit-process-insert-section "magit-process" - (pwd program args &optional errcode errlog)) + (pwd program args &optional errcode errlog face)) (defvar magit-this-error) (defvar magit-process-error-message-regexps) @@ -400,7 +400,8 @@ still subject to major changes. Also see `magit-git-string-p'." (with-current-buffer (magit-process-buffer t) (magit-process-insert-section default-directory magit-git-executable args - status buf))) + status buf + 'magit-section-secondary-heading))) (when-let ((status-buf (magit-get-mode-buffer 'magit-status-mode))) (let ((msg (magit--locate-error-message))) (with-current-buffer status-buf @@ -494,7 +495,7 @@ insert the run command and stderr into the process buffer." (magit-process-insert-section default-directory magit-git-executable (magit-process-git-arguments args) - exit log) + exit log 'magit-section-secondary-heading) exit))))) (cond ((not magit-git-debug)) (errmsg (message "%s" errmsg)) |
