git-sync
git-sync copied to clipboard
modified to enable sync only after GIT_SYNC_INTERVAL
The current implementation of git-sync-on-inotify syncs continuously whenever an edit is made. This modification ensures that the sync waits until GIT_SYNC_INTERVAL until the next sync is made, thus reducing the number of commits
Hi, this indeed looks very sensible!
One nit: There is a bunch of whitespace changes, could you please clean those up? I find it hard to review as it is.
@simonthum apologies vscode messes with formatting for shell script that doesnt have a sh
extension. I have fixed the formatting. Let me know if any additional changes need to be done
Hi, it's fine now. Please rebase it to apply cleanly and I will accept the change.