{"id":41571,"date":"2023-12-27T17:19:10","date_gmt":"2023-12-27T22:19:10","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=41571"},"modified":"2023-12-27T17:19:10","modified_gmt":"2023-12-27T22:19:10","slug":"gitmounter","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2023\/12\/27\/gitmounter\/","title":{"rendered":"GitMounter"},"content":{"rendered":"<p><a href=\"https:\/\/social.jvns.ca\/@b0rk\/111462736760795943\">Julia Evans<\/a>:<\/p>\n<blockquote cite=\"https:\/\/social.jvns.ca\/@b0rk\/111462736760795943\">\n<p>has anyone made a read-only FUSE filesystem for a git repository where every commit is a folder and the folder contains all the files in that commit?<\/p>\n<\/blockquote>\n\n<p><a href=\"https:\/\/belkadan.com\/blog\/2023\/11\/GitMounter\/\">Jordan Rose<\/a>:<\/p>\n<blockquote cite=\"https:\/\/belkadan.com\/blog\/2023\/11\/GitMounter\/\">\n<p>And I <em>did<\/em> in fact do something very like that, back when I was <a href=\"https:\/\/belkadan.com\/blog\/2020\/07\/Suffusion\/\">playing with FUSE<\/a>! But I never put it up anywhere cause it had an annoying build process, and didn&rsquo;t seem to add much, and&mdash;<\/p>\n<p>Well, in any case, Evans asked to see it, so <a href=\"https:\/\/belkadan.com\/source\/GitMounter\/\">here it is<\/a>, cleaned up to be a plain old SwiftPM package.<\/p>\n<\/blockquote>\n\n<p>Previously:<\/p>\n<ul>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2014\/12\/21\/gitfs\/\">GitFS<\/a><\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>Julia Evans: has anyone made a read-only FUSE filesystem for a git repository where every commit is a folder and the folder contains all the files in that commit? Jordan Rose: And I did in fact do something very like that, back when I was playing with FUSE! But I never put it up anywhere [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"2023-12-27T22:19:14Z","apple_news_api_id":"85dba72b-9b7f-4af4-8945-ec53e26f5aa2","apple_news_api_modified_at":"2023-12-27T22:19:14Z","apple_news_api_revision":"AAAAAAAAAAD\/\/\/\/\/\/\/\/\/\/w==","apple_news_api_share_url":"https:\/\/apple.news\/AhdunK5t_SvSJRexT4m9aog","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[2],"tags":[377,30,32,1091,2385,74,71,901,376],"class_list":["post-41571","post","type-post","status-publish","format-standard","hentry","category-technology","tag-git","tag-mac","tag-macapp","tag-macfuse","tag-macos-14-sonoma","tag-opensource","tag-programming","tag-swift-programming-language","tag-versioncontrol"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/41571","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=41571"}],"version-history":[{"count":1,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/41571\/revisions"}],"predecessor-version":[{"id":41572,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/41571\/revisions\/41572"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=41571"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=41571"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=41571"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}