NAME
git/fs – git file server |
SYNOPSIS
git/fs [ –d ] [ –m mtpt ] |
DESCRIPTION
Git/fs serves a file system interface to a git repository in the
current directory. This file system provides a read–only view into
the repository contents. By default, it is mounted on $repo/.git/fs.
It does not cache mutable data, so any changes to the git repository
will immediately be reflected in git/fs.
Git/fs serves a few levels of hierarchy. The top level contains
the following files and directories:
Commits are also represented as small hierarchies. They contain
the following files:
msg The full text of the commit message. parent
Trees are presented as directory listings, and blobs as files. |
FILES
.gitThe git repository being mounted. |
SOURCE
/sys/src/cmd/git/fs.c |
SEE ALSO
git(1) hg(1) hgfs(4) |
BUGS
Symlinks are only partially supported. Symlinks are treated as
regular files when reading. Modifying symlinks is unsupported.
There is no way to inspect the raw objects. This is a feature
that would be useful for debugging. |