Function: magit-insert-stash-index

magit-insert-stash-index is a natively compiled function defined in magit-stash.el.

Signature

(magit-insert-stash-index)

Documentation

Insert section showing staged changes of the stash.

Source Code

;; Defined in /nix/store/irvbdy0zra0dn8fpd008f32x5ix6qm5v-emacs-packages-deps/share/emacs/site-lisp/elpa/magit-20261005.508/magit-stash.el
(defun magit-insert-stash-index ()
  "Insert section showing staged changes of the stash."
  (magit-stash-insert-section
   (format "%s^2" magit-buffer-revision)
   (format "%s^..%s^2" magit-buffer-revision magit-buffer-revision)
   "Staged"))