commit 83559c7c55a947f55e037a6cc7e696f7db3a1318 from: Omar Polo date: Wed Aug 11 17:37:37 2021 UTC add a TODO for the files handling in vc-got-diff commit - 8ec0bb76ea97b6f2a998ae6e602644601fda872d commit + 83559c7c55a947f55e037a6cc7e696f7db3a1318 blob - 003d62abccc3cac7797d31141cb8a3d5def983b0 blob + 1abed875c568f14638d591acb3058b5c0627524c --- vc-got.el +++ 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)