Very cool. On Thu, Jan 1, 2015 at 12:07 PM marius eriksen wrote: > 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-only > access to a fake filesystem of files stored in Git. Gitfiles accepts paths > of the form > > /path/to/repo@tree-ish/repository/path > > Where /path/to/repo is a valid Git repository, and tree-ish is a valid > tree, 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. > >