You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be useful if Dulwich provided a way to listen to changes in refs, for long-running processes. The optimal implementation for this would be to use inotify to watch for changes to .git/packed-refs, .git/HEAD and all files under .git/refs.
I'm not sure whether it makes sense to provide a non-inotify replacement, especially since that may lead to terrible surprises for the performance for some repositories.
The text was updated successfully, but these errors were encountered:
so this is a little bit tricky with pyinotify because it needs a loop to run. asyncio makes this slightly easier, so perhaps it would be reasonable to require that with inotify.
(see also jonashaag/klaus#248)
It would be useful if Dulwich provided a way to listen to changes in refs, for long-running processes. The optimal implementation for this would be to use inotify to watch for changes to .git/packed-refs, .git/HEAD and all files under .git/refs.
I'm not sure whether it makes sense to provide a non-inotify replacement, especially since that may lead to terrible surprises for the performance for some repositories.
The text was updated successfully, but these errors were encountered: