Function: magit-jump-to-unpushed-to-upstream

magit-jump-to-unpushed-to-upstream is an interactive and byte-compiled function defined in magit-log.el.

Signature

(magit-jump-to-unpushed-to-upstream &optional ARG1)

Documentation

Jump to the section "Unpushed to @{upstream}".

With a prefix argument also expand it.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-log.el
(magit-define-section-jumper magit-jump-to-unpushed-to-upstream
  "Unpushed to @{upstream}" unpushed "@{upstream}.." nil
  :if (lambda ()
        (or (memq 'magit-insert-unpushed-to-upstream-or-recent
                  magit-status-sections-hook)
            (memq 'magit-insert-unpushed-to-upstream
                  magit-status-sections-hook)))
  :description (lambda ()
                 (let ((upstream (magit-get-upstream-branch)))
                   (if (or (not upstream)
                           (magit-rev-ancestor-p "HEAD" upstream))
                       "Recent commits"
                     "Unmerged into upstream"))))