aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)."
1009 (buffer-string)))) 1009 (buffer-string))))
1010 1010
1011(defun vc-git-region-history (file buffer lfrom lto) 1011(defun vc-git-region-history (file buffer lfrom lto)
1012 "Insert into BUFFER the history of FILE for lines LFROM to LTO.
1013This requires git 1.8.4 or later, for the \"-L\" option of \"git log\"."
1012 ;; The "git log" command below interprets the line numbers as applying 1014 ;; The "git log" command below interprets the line numbers as applying
1013 ;; to the HEAD version of the file, not to the current state of the file. 1015 ;; to the HEAD version of the file, not to the current state of the file.
1014 ;; So we need to look at all the local changes and adjust lfrom/lto 1016 ;; So we need to look at all the local changes and adjust lfrom/lto