Function: magit-repolist-column-unpushed-to-upstream

magit-repolist-column-unpushed-to-upstream is a byte-compiled function defined in magit-repos.el.

Signature

(magit-repolist-column-unpushed-to-upstream SPEC)

Documentation

Insert number of commits in the current branch but not its upstream.

Source Code

;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-repos.el
(defun magit-repolist-column-unpushed-to-upstream (spec)
  "Insert number of commits in the current branch but not its upstream."
  (and$ (magit-get-upstream-branch)
        (magit-repolist-insert-count (car (magit-rev-diff-count "HEAD" $))
                                     spec)))