Re: File Systems and a Theory of Edits
- From
Jeff King <peff@peff.net>
- Date
- Aug 1, 2011, 01:22 UTC
- Message-ID
- <20110801012237.GA32509@sigill.intra.peff.net>
- In-Reply-To
- <23101-1312054868-691056@sneakemail.com>
On Sat, Jul 30, 2011 at 02:40:57PM -0500, John M. Dlugosz wrote:
Show 12 quoted lines
> On 7/30/2011 9:29 AM, Michael Nahas wrote: > >For these commands to work, the git command will have to include an > >argument that specifies which commit it operates on. So some basic > >ones might be: > > "git ls<commit> -- <path>" > > "git cat<commit> -- <path>" > >(There exists "git ls-files", "git ls-tree", and "git cat-file" but > > If you could "mount" a repository, then you would not need these > commands at all. It would be in fact a read-only file system. Once > mounted, the individual commits could be directories, and under that > you explore in the usual way.
There are several (mostly fuse-based) tools listed on the wiki:
https://git.wiki.kernel.org/index.php/InterfacesFrontendsAndTools#Filesystem_interfaces
I've never used any of them, though. No idea how mature or usable they are.
Googling around also came up with this newer attempt:
https://github.com/mfontani/git-fuse-perl
Again, no idea on the quality.
-Peff