Function: magit-insert-unpulled-cherries

magit-insert-unpulled-cherries is a byte-compiled function defined in magit-log.el.

Signature

(magit-insert-unpulled-cherries)

Documentation

Insert section showing unpulled commits.

Like magit-insert-unpulled-from-upstream but prefix each commit which has not been applied yet (i.e., a commit with a patch-id not shared with any local commit) with "+", and all others with
"-".

Source Code

;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-log.el
;;;; Auxiliary Log Sections

(defun magit-insert-unpulled-cherries ()
  "Insert section showing unpulled commits.
Like `magit-insert-unpulled-from-upstream' but prefix each commit
which has not been applied yet (i.e., a commit with a patch-id
not shared with any local commit) with \"+\", and all others with
\"-\"."
  (when (magit-git-success "rev-parse" "@{upstream}")
    (magit-insert-section (unpulled "..@{upstream}")
      (magit-insert-heading t "Unpulled commits")
      (magit-git-wash (apply-partially #'magit-log-wash-log 'cherry)
        "cherry" "-v" (magit-abbrev-arg)
        (magit-get-current-branch) "@{upstream}"))))