WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: oridb/git9 ~ Git implementation for plan 9  (Read 404 times)

Offline mocore

  • Hero Member
  • *****
  • Posts: 508
  • ~.~
oridb/git9 ~ Git implementation for plan 9
« on: December 31, 2023, 02:15:17 AM »

 Git implementation for plan 9  @ https://github.com/oridb/git9
Quote
Structure
---------

The git/fs program provides a file system mounted on $repo/.git/fs.
It provides a read-only view into the repository contents to allow
scripts to inspect the data.  Surrounding scripts and binaries will
manipulate the repository contents directly.  These changes will be
immediately mirrored in the file system.

Scripts will generally mount git/fs as needed to do
their work, but if you want to browse the repository
manually, run it yourself. You'll get `$repo/.git/fs` mounted,
with the following contents:

   $repo/.git/fs/object:   The objects in the repo.
   $repo/.git/fs/branch:   The branches in the repo.
   $repo/.git/fs/ctl:      A file showing the status of the repo.
            Currently, it only shows the current branch.
   $repo/.git/fs/HEAD      An alias for the currently checked out
            commit directory.