branch: externals/vc-jj
commit f914bfb9caba304d51c47c1ecf9f3db70b4eab0d
Author: Tassilo Horn <[email protected]>
Commit: Tassilo Horn <[email protected]>
Support vc-version-history
---
vc-jj.el | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/vc-jj.el b/vc-jj.el
index 0e0cbc8169..681729cbec 100644
--- a/vc-jj.el
+++ b/vc-jj.el
@@ -934,5 +934,13 @@ the command to run, e.g., the semi-standard \"jj git push
-c @-\"."
(save-buffer)
(kill-buffer)))))
+;; Support for vc-region-history via the git version which works fine
+;; at least when co-located with git.
+(defun vc-jj-region-history (file buffer lfrom lto)
+ (vc-git-region-history file buffer lfrom lto))
+
+(define-derived-mode vc-jj-region-history-mode vc-git-region-history-mode
+ "JJ/Git-Region-History")
+
(provide 'vc-jj)
;;; vc-jj.el ends here