Function: magit-commit-instant-fixup
magit-commit-instant-fixup is an interactive and natively compiled
function defined in magit-commit.el.
Signature
(magit-commit-instant-fixup &optional COMMIT ARGS)
Documentation
Create a fixup commit, and immediately combine it with its target.
If there is a reachable commit at point, target that. Otherwise prompt
for a commit. If magit-commit-squash-confirm is non-nil, always make
the user explicitly select a commit, in a buffer dedicated to that task.
Leave the original commit message of the targeted commit untouched.
Like magit-commit-fixup but also run a "--autofixup" rebase.
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-commit.el
;;;; Edit and Rebase
;;;###autoload
(defun magit-commit-instant-fixup (&optional commit args)
"Create a fixup commit, and immediately combine it with its target.
If there is a reachable commit at point, target that. Otherwise prompt
for a commit. If `magit-commit-squash-confirm' is non-nil, always make
the user explicitly select a commit, in a buffer dedicated to that task.
Leave the original commit message of the targeted commit untouched.
Like `magit-commit-fixup' but also run a \"--autofixup\" rebase."
(interactive (list (magit-commit-at-point)
(magit-commit-arguments)))
(magit-commit-squash-internal "--fixup=" commit args nil nil 'rebase))