Refresh on git branch change/checkout
maxschafintact
Posts: 8 New member
Hi,
there is a refresh issue in FD:
Repro steps:
Flyway Desktop is opened, git branch is chosen and local folder in git repo is synced with db showing differences.
If git branch gets changed in an external tool (Visual Studio) and you switch back to FD (window focus), the branch name in dropdown changes (changes if done after branch checkout; it is not changed if you switch to FD during checkout), but differences are not synced automatically.
if you change branch in FD, differences are refreshed automatically. I think FD should start syncing if it gets focus and branch was changed.
BR
there is a refresh issue in FD:
Repro steps:
Flyway Desktop is opened, git branch is chosen and local folder in git repo is synced with db showing differences.
If git branch gets changed in an external tool (Visual Studio) and you switch back to FD (window focus), the branch name in dropdown changes (changes if done after branch checkout; it is not changed if you switch to FD during checkout), but differences are not synced automatically.
if you change branch in FD, differences are refreshed automatically. I think FD should start syncing if it gets focus and branch was changed.
BR
Tagged:
Answers
Thanks for reporting, repo'ed and confirmed, will raise with development.
This is now how FD behaves, it will recheck each time it gains focus. So invoking this in your Git interface, seeing it complete and the refocusing of FD should prevent any stale data.