Function: vc-git-log-outgoing

vc-git-log-outgoing is a byte-compiled function defined in vc-git.el.gz.

Signature

(vc-git-log-outgoing BUFFER REMOTE-LOCATION)

Source Code

;; Defined in /usr/src/emacs/lisp/vc/vc-git.el.gz
(defun vc-git-log-outgoing (buffer remote-location)
  (vc-setup-buffer buffer)
  (apply #'vc-git-command buffer 'async nil
         `("log"
           "--no-color" "--graph" "--decorate" "--date=short"
           ,(format "--pretty=tformat:%s" (car vc-git-root-log-format))
           "--abbrev-commit"
           ,@(ensure-list vc-git-shortlog-switches)
           ,(concat (if (string= remote-location "")
                        "@{upstream}"
                      remote-location)
                    "..HEAD"))))