]> git.eshelyaron.com Git - emacs.git/commitdiff
Doc fix for vc-git
authorGlenn Morris <rgm@gnu.org>
Thu, 8 Dec 2016 06:53:58 +0000 (22:53 -0800)
committerGlenn Morris <rgm@gnu.org>
Thu, 8 Dec 2016 06:53:58 +0000 (22:53 -0800)
* lisp/vc/vc-git.el (vc-git-region-history): Add a doc string.

lisp/vc/vc-git.el

index 9eac5b26f033cccc59853f61ad99ee649fa24ab0..eba5be9cbecce096d458e92ea3a678952de9b533 100644 (file)
@@ -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