Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

modified to enable sync only after GIT_SYNC_INTERVAL #30

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

rambalachandran
Copy link

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

@simonthum
Copy link
Owner

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.

@rambalachandran
Copy link
Author

@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

@simonthum
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants