milke / GitFinder-Issues

Bug and issue tracker for GitFinder - git client with macOS Finder integration
16 stars 1 forks source link

Spurious errors when using another Git client alongside GitFinder #37

Closed uliwitness closed 5 years ago

uliwitness commented 6 years ago

Hi,

often when I make changes using SourceTree (or SourceTree reloads its view), GitFinder throws up error dialogs about random files. It seems like SourceTree being busy with the repository prevents GitFinder from accessing it.

It would probably be helpful if GitFinder did one or two quiet re-tries to give SourceTree the opportunity to finish, and only if it persistently fails to do its thing, actually put up an error message.

Thanks!

milke commented 6 years ago

Can you tell me what specific error messages you get from GitFinder (perhaps a screenshot if error dialog)?

I don't use SourceTree (as a matter of fact, I use only GF for a bit longer than a year now), but I'd like to download it and reproduce this behaviour. The strange things is, if something else is modifying repo files monitored by GF, the only thing it needs is read access to update its status. It would be strange if SourceTree does something additionally while operating on files, like locking for read access or similar.

uliwitness commented 6 years ago

"failed to open directory '/Path/to/my/repo': Operation not permitted"

milke commented 6 years ago

So far I haven't been able to reproduce this. Is there anything specific you do with repository in SourceTree when GF starts complaining?

uliwitness commented 6 years ago

It just happens when I push, or when I switch branches.

milke commented 5 years ago

I haven't worked specifically on this, but version 1.2 introduces some major redesign of the way application and Finder extension work and interoperate. This should also contribute to increased stability and robustness of the combo and hopefully removes these errors as well.

I'll close this one, but if the issue reappears, please fill free to reopen (preferred), or create a new one.