News for hackers. Stuff that matters.
Re:Google Drive does a surprise rollout of file limits, lock... by dreamcompiler on Saturday April 01, 2023 @04:18PM (#35403695)
I think you're on to something here. It might be both safe and convenient to use git with Dropbox iff you create a bare git repo that is not in a Dropbox folder, and then specify a separate worktree that is in a Dropbox folder. That might give you the best of both worlds, but I haven't tested the idea.
Re:Google Drive does a surprise rollout of file limits, lock... by Dylan16807 on Saturday April 01, 2023 @04:33PM (#35403808)
There aren't any fundamental issues with putting the git repo in Dropbox. Under normal circumstances, to cause a conflict you'd have to do something that writes to the git folder, then switch computers, pull up the same checkout, and do something else that writes to the git folder, all within less than half a minute.
Re:Google Drive does a surprise rollout of file limits, lock... by dreamcompiler on Saturday April 01, 2023 @06:37PM (#35404861)
The fundamental issue is that Dropbox changes are non-atomic w.r.t. what git considers "atoms." See my other comment in this thread. You're right that there's usually not a problem with a single contributor, but if you ever have two or more contributors sharing a Dropbox-contained repo it will be bad news.
Re:Google Drive does a surprise rollout of file limits, lock... by Dylan16807 on Saturday April 01, 2023 @06:41PM (#35404895)
Sure, don't share. But there's a good use case for putting a single-user checkout into Dropbox, and that's because it adds convenience and gives you continuous backups.