kenneito Posted March 20, 2016 Report Share Posted March 20, 2016 Hello, I have some projects versioned by Git in synced folder, I found out that Git does not work too well because Sync is trying to sync the files (e.g. checkout another branch after committing). I know I can pause the sync but then it is a burden to turn it on/off every time (and sometimes I forget). Does anyone have any solutions? Thanks! Quote Link to comment Share on other sites More sharing options...
RomanZ Posted March 21, 2016 Report Share Posted March 21, 2016 @kenneito Not 100% sure what exactly happens in your case, but in general when you encounter some compatibility issue with other apps there are 2 ways in Sync to workaround it: IgnoreList to ignore files that your want Sync not to touch FileDelayConfig to force Sync to not to touch file for some time after it changes (based on extension of a file). Quote Link to comment Share on other sites More sharing options...
kenneito Posted March 21, 2016 Author Report Share Posted March 21, 2016 1 hour ago, RomanZ said: @kenneito Not 100% sure what exactly happens in your case, but in general when you encounter some compatibility issue with other apps there are 2 ways in Sync to workaround it: IgnoreList to ignore files that your want Sync not to touch FileDelayConfig to force Sync to not to touch file for some time after it changes (based on extension of a file). I think Sync is accessing the files with write permission which makes git cannot modify them. How do I use the FileDelayConfig option? I can't find it anywhere. Quote Link to comment Share on other sites More sharing options...
kenneito Posted March 21, 2016 Author Report Share Posted March 21, 2016 6 hours ago, RomanZ said: @kenneito Not 100% sure what exactly happens in your case, but in general when you encounter some compatibility issue with other apps there are 2 ways in Sync to workaround it: IgnoreList to ignore files that your want Sync not to touch FileDelayConfig to force Sync to not to touch file for some time after it changes (based on extension of a file). Nevermind I found it. (Can you not edit posts?) It is not too useful for me since there are a lot of different kinds of files monitored in git. It would be better to have the same setting but for a directory. Quote Link to comment Share on other sites More sharing options...
RomanZ Posted March 22, 2016 Report Share Posted March 22, 2016 @kenneito All users should be able to edit their own posts. Sorry, wanted to leave a link to FileDelayConfig article so you can find it easily. For the FileDelayConfig - the file is pretty flexible. You can remove all the filters there, leaving simple "*" : 10 to force delay for all files. Just keep the JSON syntax so Sync can parse it. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.