Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

While Git is great at asynchronous collaboration, its a bit clunky to try and work on the same commit with other devs or across devices. This is because Git tracks what changed, not how it changed.

It'd be cool if you were on the same branch as somebody else, or another device, and your working directories could be synced. It'd also be cool for the commit history to be a bit richer, so you could see who, what and when for a change at a keystroke level.

So I'm working on real-time sync for Git! I'd represent the working directory as a tree CRDT [1] and sync that through FUSE and p2p networking.

Not sure whether this is actually a good idea! This is a POC :)

[1] https://martin.kleppmann.com/papers/move-op.pdf



One idea I have had for years is that it would be great if file system would support structured data.

This would combine well with your idea.

So let's say that I change python source code, the "file system" would understand the syntax of python source. Your tool could then use this to derive the sematics of my change, i.e. "added a function foo() with the following signature and body"




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: