git-sync icon indicating copy to clipboard operation
git-sync copied to clipboard

modified to enable sync only after GIT_SYNC_INTERVAL

Open rambalachandran opened this issue 1 year ago • 3 comments

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

rambalachandran avatar Jul 02 '23 07:07 rambalachandran

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 avatar Jul 03 '23 16:07 simonthum

@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

rambalachandran avatar Jul 03 '23 22:07 rambalachandran

Hi, it's fine now. Please rebase it to apply cleanly and I will accept the change.

simonthum avatar Aug 01 '23 14:08 simonthum