branch: externals/vc-got
commit 83559c7c55a947f55e037a6cc7e696f7db3a1318
Author: Omar Polo <[email protected]>
Commit: Omar Polo <[email protected]>

    add a TODO for the files handling in vc-got-diff
---
 vc-got.el | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/vc-got.el b/vc-got.el
index 003d62a..1abed87 100755
--- a/vc-got.el
+++ b/vc-got.el
@@ -729,8 +729,15 @@ Heavily inspired by `vc-git-log-view-mode'."
               (vc-got--diff file))
           ;; TODO: if rev1 is nil, diff from the current version until
           ;; rev2.
+          ;;
           ;; TODO: if rev2 is nil as well, diff against an empty tree
           ;; (i.e. get the patch from `got log -p rev1')
+          ;;
+          ;; TODO: it would be nice to optionally include FILES here,
+          ;; it would make the `=' key on the *Annotate* buffer do the
+          ;; right thing, but AFAICS got doesn't provide something
+          ;; like this.  Probably only hacking something with ``log
+          ;; -p'' and filtering?
           (vc-got--diff rev1 rev2))))))
 
 (defun vc-got-revision-completion-table (_files)

Reply via email to