emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/vc-got c0c9a33 009/145: docs improvement


From: ELPA Syncer
Subject: [elpa] externals/vc-got c0c9a33 009/145: docs improvement
Date: Thu, 9 Sep 2021 15:58:23 -0400 (EDT)

branch: externals/vc-got
commit c0c9a33974fac7981ecdcf4ea709d269a25c930e
Author: Omar Polo <op@omarpolo.com>
Commit: Omar Polo <op@omarpolo.com>

    docs improvement
---
 vc-got.el | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/vc-got.el b/vc-got.el
index 33c544a..0208d51 100644
--- a/vc-got.el
+++ b/vc-got.el
@@ -248,9 +248,7 @@ DIR-OR-FILE."
 ;;                                      (message "got %s" res))))
 
 (defun vc-got-working-revision (file)
-  "Return the id of the last commit that touched the FILE.
-
-Return \"0\" for a file added but not yet committed."
+  "Return the id of the last commit that touched the FILE or \"0\" for a new 
(but added) file."
   (or
    (with-temp-buffer
      (when (vc-got--log 1 file)
@@ -294,6 +292,7 @@ Return \"0\" for a file added but not yet committed."
     (apply #'vc-got--call "commit" "-m" comment files)))
 
 (defun vc-got-find-revision (file rev buffer)
+  "Fill BUFFER with the content of FILE in the given revision REV."
   (when-let (obj-id (assoc file (vc-got--tree rev file) #'string=))
     (with-current-buffer buffer
       (vc-got-with-worktree file



reply via email to

[Prev in Thread] Current Thread [Next in Thread]