News for hackers. Stuff that matters.
Re:Mounting Git commits as folders with NFS by Someone on Tuesday May 19, 2026 @06:35AM (#48191584)
FTA: “problem 1: webdav or NFS?

The two filesystems I could that were natively supported by Mac OS were WebDav and NFS. I couldn’t tell which would be easier to implement so I just tried both”

I might find out that it is incomplete, buggy or a nuisance to use, but FSKit (https://developer.apple.com/documentation/FSKit) would be my first choice.

Re:Mounting Git commits as folders with NFS by blaz0 on Thursday May 21, 2026 @11:49AM (#48224762)
macOS actually has an excellent SMB client, so the options actually are: WebDAV, NFS (3.0 and 4.0), SMB, FSKit.
Re:Mounting Git commits as folders with NFS by oefrha on Thursday May 21, 2026 @12:14PM (#48225156)
By excellent do you mean bearable? macOS’s SMB stack is certainly not excellent.
Re:Mounting Git commits as folders with NFS by adi_kurian on Thursday May 21, 2026 @12:38PM (#48225532)
By bearable do you mean it exists? It's fucking shite.
Re:Mounting Git commits as folders with NFS by donatj on Thursday May 21, 2026 @01:07PM (#48225948)
Which is why I'm so angry they're killing AFP. It works so much better and is super easy to set up a server for on a Linux
Re:Mounting Git commits as folders with NFS by nine_k on Thursday May 21, 2026 @12:59PM (#48225841)
Won't the SMB implementation be sufficient to mount git commits as folders?
Re:Mounting Git commits as folders with NFS by jstanley on Thursday May 21, 2026 @03:17PM (#48227643)
No, because SMB doesn't support execute permissions. So either all your files are executable or none of them are.
Re:Mounting Git commits as folders with NFS by nine_k on Thursday May 21, 2026 @05:08PM (#48228920)
I would say that in a source code tree that represents old commits I'd like none of the files to be executable. (It would miss some commits that only change the executable bit though.)
Re:Mounting Git commits as folders with NFS by js2 on Thursday May 21, 2026 @12:38PM (#48225526)
AFAIK, SMB doesn't support symbolic links.
Re:Mounting Git commits as folders with NFS by lostmsu on Thursday May 21, 2026 @06:11PM (#48229452)
Git should not have supported them either.
Re:Mounting Git commits as folders with NFS by skissane on Thursday May 21, 2026 @05:14PM (#48228968)
FSKit was released with Sequoia in March 2025. This blog post was written in December 2023—so at the time it was written, FSKit was not yet an option
Re:Mounting Git commits as folders with NFS by Someone on Thursday May 21, 2026 @05:26PM (#48229065)
HN messes up time stamps when submissions get reposted.

I wrote my comment two days ago. I don’t think the title contained “(2023)” then.