Hello at tramp-devel, I've implemented a method of accessing the file tree behind a given git hash.
It works in this format, for example: /git:5e7a71d:/home/peterm/work/emacs This will open a dired viewer of the repo, entering folders or viewing files keeps the initial hash. To try it quickly: $ git clone https://git.sr.ht/~pem/git-tramp $ cd git-tramp $ emacs -nw -l git-tramp.el My ultimate plan is for this to be integrated with 'vc-print-root-log'. Where now we can do '=' to see a diff, or RET to see the commit comment, I would like to add 't' to invoke git-tramp over that hash in the log. I'm writing to ask your help with a question: In 'defconst git-tramp-file-name-handler-alist' we have a table of key/value pairs that hooks implementations of functions in the Tramp engine. I wasn't sure what is the full format of the table, furthermore, what is the full range of methods that required implementation? Any additional comments or suggestions are welcome. Regards, Peter M. https://hangar118.sdf.org/
