summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2016-12-07 22:53:58 -0800
committerGlenn Morris <rgm@gnu.org>2016-12-07 22:53:58 -0800
commit08decbd04b8346323b80f0dea84a462fe1f46b3f (patch)
tree823c02edaf92811f3f9cbb80c1f31c3826ec7c2d
parent5531e75385ca3d02287f4df7788e38090f70b6b7 (diff)
downloademacs-08decbd04b8346323b80f0dea84a462fe1f46b3f.tar.gz
Doc fix for vc-git
* lisp/vc/vc-git.el (vc-git-region-history): Add a doc string.
-rw-r--r--lisp/vc/vc-git.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/vc/vc-git.el b/lisp/vc/vc-git.el
index 9eac5b26f03..eba5be9cbec 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