branch: externals/agitate commit aa04a25eb1ec6966e093f4c6f24e240967ecdca5 Author: Protesilaos Stavrou <i...@protesilaos.com> Commit: Protesilaos Stavrou <i...@protesilaos.com>
Rename to agitate-vc-git-format-patch-single --- README.org | 4 ++-- agitate.el | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.org b/README.org index 2daa6ebf16..379f5005f9 100644 --- a/README.org +++ b/README.org @@ -153,8 +153,8 @@ think most of those are superfluous. Less is more. =git-show(1)= on it. With optional =CURRENT-FILE= as prefix argument, limit the commits to those pertaining to the current file. -#+findex: agitate-vc-git-prompt-format-patch-single -+ ~agitate-vc-git-prompt-format-patch-single~ :: Format patch for a +#+findex: agitate-vc-git-format-patch-single ++ ~agitate-vc-git-format-patch-single~ :: Format patch for a single =COMMIT=. If in a log-view buffer, the =COMMIT= is the one at point. For the details of how that is determined, read the doc string of ~agitate-log-view-kill-revision~. If there is no such diff --git a/agitate.el b/agitate.el index cddd7eb662..157261dbd5 100644 --- a/agitate.el +++ b/agitate.el @@ -278,13 +278,13 @@ to those pertaining to the current file." (diff-mode)))) (defun agitate--vc-git-format-patch-single-behaviour () - "Help `agitate-vc-git-prompt-format-patch-single' with its COMMIT." + "Help `agitate-vc-git-format-patch-single' with its COMMIT." (if-let ((default-value (cadr (log-view-current-entry (point) t)))) default-value (agitate--vc-git-get-hash-from-string (agitate--vc-git-commit-prompt)))) ;;;###autoload -(defun agitate-vc-git-prompt-format-patch-single (commit) +(defun agitate-vc-git-format-patch-single (commit) "Format patch for a single COMMIT. If in a log-view buffer, the COMMIT is the one at point. For the