Function: vc-git-stash-pop

vc-git-stash-pop is an interactive and byte-compiled function defined in vc-git.el.gz.

Signature

(vc-git-stash-pop NAME)

Documentation

Pop stash NAME.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/vc/vc-git.el.gz
(defun vc-git-stash-pop (name)
  "Pop stash NAME."
  ;; Stashes are commonly popped off in reverse order, so pass non-nil
  ;; DEFAULT-MOST-RECENT to `vc-git-stash-read'.
  (interactive (list (vc-git-stash-read "Pop stash"
                                        :default-most-recent t)))
  (vc-git-command "*vc-git-stash*" 0 nil "stash" "pop" "-q" name)
  (vc-resynch-buffer (vc-git-root default-directory) t t))