Function: magit-stash-format-patch

magit-stash-format-patch is an interactive and natively compiled function defined in magit-stash.el.

Signature

(magit-stash-format-patch STASH)

Documentation

Create a patch from STASH.

Key Bindings

This command is not in any keymaps.

Source Code

;; Defined in /nix/store/irvbdy0zra0dn8fpd008f32x5ix6qm5v-emacs-packages-deps/share/emacs/site-lisp/elpa/magit-20261005.508/magit-stash.el
;;;###autoload
(defun magit-stash-format-patch (stash)
  "Create a patch from STASH."
  (interactive (list (magit-read-stash "Create patch from stash")))
  (with-temp-file (magit-rev-format "0001-%f.patch" stash)
    (magit-git-insert "stash" "show" "-p" stash))
  (magit-refresh))