aboutsummaryrefslogtreecommitdiff
path: root/lisp/magit-reset.el
diff options
context:
space:
mode:
authorJonas Bernoulli <jonas@bernoul.li>2025-07-11 21:03:35 +0200
committerJonas Bernoulli <jonas@bernoul.li>2025-07-11 21:03:35 +0200
commita89158b40a8c5f7a7e399631e95c13f460a33020 (patch)
treed29dbd46a84c415f973be9aac96ea33b40ecf3ff /lisp/magit-reset.el
parent9654f5e09403699ca0ad2c6276a8656dd5e5473b (diff)
magit-reset-{soft,hard,keep}: Fix argument name in docstrings
Diffstat (limited to 'lisp/magit-reset.el')
-rw-r--r--lisp/magit-reset.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/magit-reset.el b/lisp/magit-reset.el
index 4baa64b..a166dd9 100644
--- a/lisp/magit-reset.el
+++ b/lisp/magit-reset.el
@@ -55,14 +55,14 @@
;;;###autoload
(defun magit-reset-soft (commit)
"Reset the `HEAD' to COMMIT, but not the index and working tree.
-\n(git reset --soft REVISION)"
+\n(git reset --soft COMMIT)"
(interactive (list (magit-reset-read-branch-or-commit "Soft reset %s to")))
(magit-reset-internal "--soft" commit))
;;;###autoload
(defun magit-reset-hard (commit)
"Reset the `HEAD', index, and working tree to COMMIT.
-\n(git reset --hard REVISION)"
+\n(git reset --hard COMMIT)"
(interactive (list (magit-reset-read-branch-or-commit
(concat (magit--propertize-face "Hard" 'bold)
" reset %s to"))))
@@ -71,7 +71,7 @@
;;;###autoload
(defun magit-reset-keep (commit)
"Reset the `HEAD' and index to COMMIT, while keeping uncommitted changes.
-\n(git reset --keep REVISION)"
+\n(git reset --keep COMMIT)"
(interactive (list (magit-reset-read-branch-or-commit "Reset %s to")))
(magit-reset-internal "--keep" commit))