From 98271f2b9e082d71bc158a2ff7a99f7ee3e1b141 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Wed, 20 Jul 2022 21:04:05 -0400 Subject: km/magit-rev-ancestor-p: Fix article in prompt and docstring --- lisp/km-magit.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lisp') 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" -- cgit v1.2.3