Hasty Briefsbeta

Bilingual

Mounting Git commits as folders with NFS

3 days ago
  • #filesystems
  • #NFS
  • #git
  • The author created git-commit-folders, a project that mounts git commits as folders using NFS as an alternative to FUSE on macOS.
  • Commits are represented as folders, and branches/tags are symlinks to commits, providing a concrete way to explore git history via the filesystem.
  • Potential uses include searching for deleted functions or files across branches without using git commands directly.
  • Challenges included choosing NFS over WebDav due to symlink support, managing multiple filesystem interfaces, and efficiently handling large repositories.
  • Issues like caching commit hashes, inode numbering, and NFS file handle staleness were encountered, with some unresolved problems like submodules.