summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2022-07-20 21:04:05 -0400
committerKyle Meyer <kyle@kyleam.com>2022-07-20 21:04:05 -0400
commit98271f2b9e082d71bc158a2ff7a99f7ee3e1b141 (patch)
treeeaa79016c403713f3098c272d488c491addfbd88 /lisp
parentdcd9cbd332bb6d24d2d1dfbdc1ee19a25f99fdfc (diff)
downloademacs.d-98271f2b9e082d71bc158a2ff7a99f7ee3e1b141.tar.gz
km/magit-rev-ancestor-p: Fix article in prompt and docstring
Diffstat (limited to 'lisp')
-rw-r--r--lisp/km-magit.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/km-magit.el b/lisp/km-magit.el
index a1c4ba3..3dd433c 100644
--- a/lisp/km-magit.el
+++ b/lisp/km-magit.el
@@ -544,11 +544,11 @@ argument."
(kill-new (message "%s" desc))))
(defun km/magit-rev-ancestor-p (rev-a rev-b)
- "Report whether REV-A is the ancestor of REV-B."
+ "Report whether REV-A is an ancestor of REV-B."
(interactive
(let* ((rev-a (magit-read-branch-or-commit "Ancestor candidate")))
(list rev-a (magit-read-other-branch-or-commit
- (format "Is %s the ancestor of" rev-a)
+ (format "Is %s an ancestor of" rev-a)
rev-a))))
(message "%s is %san ancestor of %s" rev-a
(if (magit-git-success "merge-base" "--is-ancestor"