Function: magit-process-error-summary
magit-process-error-summary is a byte-compiled function defined in
magit-process.el.
Signature
(magit-process-error-summary PROCESS-BUF SECTION)
Documentation
A one-line error summary from the given SECTION.
Source Code
;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-process.el
(defun magit-process-error-summary (process-buf section)
"A one-line error summary from the given SECTION."
(and (buffer-live-p process-buf)
(with-current-buffer process-buf
(and (oref section content)
(save-excursion
(goto-char (oref section end))
(run-hook-wrapped
'magit-process-error-message-regexps
(lambda (re)
(save-excursion
(and (re-search-backward re (oref section start) t)
(match-str 1))))))))))