emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] emacs-25 08decbd: Doc fix for vc-git


From: Glenn Morris
Subject: [Emacs-diffs] emacs-25 08decbd: Doc fix for vc-git
Date: Thu, 8 Dec 2016 06:54:21 +0000 (UTC)

branch: emacs-25
commit 08decbd04b8346323b80f0dea84a462fe1f46b3f
Author: Glenn Morris <address@hidden>
Commit: Glenn Morris <address@hidden>

    Doc fix for vc-git
    
    * lisp/vc/vc-git.el (vc-git-region-history): Add a doc string.
---
 lisp/vc/vc-git.el |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/lisp/vc/vc-git.el b/lisp/vc/vc-git.el
index 9eac5b2..eba5be9 100644
--- a/lisp/vc/vc-git.el
+++ b/lisp/vc/vc-git.el
@@ -1009,6 +1009,8 @@ or BRANCH^ (where \"^\" can be repeated)."
       (buffer-string))))
 
 (defun vc-git-region-history (file buffer lfrom lto)
+  "Insert into BUFFER the history of FILE for lines LFROM to LTO.
+This requires git 1.8.4 or later, for the \"-L\" option of \"git log\"."
   ;; The "git log" command below interprets the line numbers as applying
   ;; to the HEAD version of the file, not to the current state of the file.
   ;; So we need to look at all the local changes and adjust lfrom/lto



reply via email to

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