I develop the gitflow4idea plugin.
A user pointed out an issue with my integration with the close task dialog:
The gitflow "finish feature" logic should run only after the "commit changes" had ended, but turns out they run concurrently.
I tracked down the bug to this line in
Seems like the
commit function of all the TaskDialog integrations is executed sequentially, so what happens is that the git commit and the gitflow finish actions are executed almost instantaneously, which means that the actual commit doesn't finish by the time the gitflow finish action starts.
I'm not entirely sure how to solve this, since the dialog integration doesn't provide a way to synchronously rely on other integrations.
Maybe there's a way to specifically query git4idea and register logic to run if the plugin isn't "busy"?