Function: vc-root-diff-outgoing-and-edited

vc-root-diff-outgoing-and-edited is an autoloaded, interactive and byte-compiled function defined in vc.el.gz.

Signature

(vc-root-diff-outgoing-and-edited &optional UPSTREAM-LOCATION)

Documentation

Report combined diff of all outgoing and uncommitted changes.

Outgoing changes are those that would be pushed to UPSTREAM-LOCATION. When unspecified UPSTREAM-LOCATION is the place C-x v P (vc-push) would push to. When called interactively with a prefix argument, prompt for UPSTREAM-LOCATION. In some version control systems UPSTREAM-LOCATION can be a remote branch name. When called from Lisp optional argument FILESET overrides the VC fileset.

This command is the same as vc-root-diff-unintegrated used on a trunk.

View in manual

Probably introduced at or before Emacs version 31.1.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/vc/vc.el.gz
;;;###autoload
(defun vc-root-diff-outgoing-and-edited (&optional upstream-location)
  "Report combined diff of all outgoing and uncommitted changes.
Outgoing changes are those that would be pushed to UPSTREAM-LOCATION.
When unspecified UPSTREAM-LOCATION is the place \\[vc-push] would push
to.  When called interactively with a prefix argument, prompt for
UPSTREAM-LOCATION.  In some version control systems UPSTREAM-LOCATION
can be a remote branch name.
When called from Lisp optional argument FILESET overrides the VC
fileset.

This command is the same as `vc-root-diff-unintegrated' used on a trunk."
  (declare (interactive-only vc-root-diff-unintegrated))
  (interactive (list (or (vc--maybe-read-outgoing-base) t)))
  (vc-root-diff-unintegrated upstream-location))