Very cool.
Now that there seems to be more git usage in the 9fans community, I figured I’d share a little hack that I’ve been using for a long time. Gitfiles is like Netfiles, but for Git. It’s very useful to browse historical content of Git repositories, especially when inspecting diffs and histories.It’s at https://github.com/mariusae/gitfiles. A simple ‘mk install’ should do.From the README:Gitfiles provides support for browsing Git repositories inside Acme.It works like, and is based on, Netfiles[1]. Gitfiles presents read-onlyaccess to a fake filesystem of files stored in Git. Gitfiles accepts pathsof the form/path/to/repo@tree-ish/repository/pathWhere /path/to/repo is a valid Git repository, and tree-ish is a validtree, commit or tag object name.I’ve also attached a few screenshots of Gitfiles in action. In the first, I’m just browsing a git log; in the second I’ve B3’d the SHA1 of the third commit; in the third, I’ve B3’d a historical file path from that diff.Cheers, and enjoy.-m.