9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Gitfiles - fake acme filesystem for Git
@ 2015-01-01 20:06 marius eriksen
  2015-01-01 23:40 ` Skip Tavakkolian
  0 siblings, 1 reply; 2+ messages in thread
From: marius eriksen @ 2015-01-01 20:06 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

[-- Attachment #1: Type: text/plain, Size: 1105 bytes --]

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 <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.




[-- Attachment #2.1: Type: text/html, Size: 2848 bytes --]

[-- Attachment #2.2: Screen Shot 2015-01-01 at 12.00.20 PM.png --]
[-- Type: image/png, Size: 36199 bytes --]

[-- Attachment #2.3: Screen Shot 2015-01-01 at 12.00.30 PM.png --]
[-- Type: image/png, Size: 91163 bytes --]

[-- Attachment #2.4: Screen Shot 2015-01-01 at 12.01.03 PM.png --]
[-- Type: image/png, Size: 78837 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-01-01 23:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-01 20:06 [9fans] Gitfiles - fake acme filesystem for Git marius eriksen
2015-01-01 23:40 ` Skip Tavakkolian

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).