Alternatives to expandrive1/7/2023 Update: A few people pointed out that you can achieve similar results using only git and a post-commit hook like so: #!/bin/sh Let’s hope Expandrive implements a workaround of their own for this. Your mileage may vary, of course, but it works well enough for now. …running in the background, and using Xcode on the local replica. This seems to be a recurring issue with all sorts of sshfs access to git (including other favorites like Transmit) and would normally be fixed with cloning the repository locally in the usual way, except that when you’re doing debugging and fixes you need to have your edits propagated in real time - I’m messing about with Catalyst (of all things) and it reloads modules dynamically, so saving, committing, pushing (and, optionally, pulling into staging) is a royal pain.Įnter Unison, which I am saddened to see still has no real alternative (I still hate its OCaml guts and its stupid requirement of having fully matching versions on each end, but, alas, nobody seems to have come up with a better solution).Īfter setting up a profile for my VM, having changes propagated in real time is simply a matter of having: unison vm-dev -batch -repeat 15 -times -ui text And Xcode 4 makes you want to do diffs all the time… In short, git (both inside and outside Xcode) would refuse to work atop sshfs, failing with miscellaneous errors pertaining to “permissions” and SHA1 checksums, the upshot being that I couldn’t do commits and (sometimes) diffs for some reason. I’ve been using Xcode 4 for editing everything these past couple of days largely due to its (good enough) git integration, but have come up against an irritating issue while trying to use Expandrive to work on a remote repository (I sometimes work inside Linux VMs when dealing with stuff like crufty dependencies and staging environments). 2 min read Xcode and Expandrive/git Workaround.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |