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
I'm a great fan of gg and keep it open all the time while coding.
What I would love is for it to stay in sync without affecting repo state:
Either:
Have gg auto-refresh when the repo changes, even when it doesn't have focus.
A simple way to notify gg that the repo state has changed, without relaunching.
A way to tell gg to switch to another repo, without relaunching.
A way to prevent gg from causing a fork in the op log.
Currently I work around these as follows:
Re-focus and unfocus gg using a script.
Quit and re-launch gg using a script.
No workaround.
The last one is a real sticking point for me. I'm regularly seeing data races and corruption — even when I have my scripts carefully set up not to refresh gg until snapshot changes are done. In any ideal world, I'd like to able to run gg out of the box and just keep an eye out on repo changes as I work in my editor. But I'm getting forks (and merges) in the op log all the time right now. This in turn prevents jj undo from working, which means that it's often a pain to try to debug corruption from race conditions.
There's probably a proper solution to this, like having a daemon coordinate gg and the commandline or so.
But as an incremental step, I'd love to see:
A way to have a gg-specific setting for the functionality of adcae41 specifically without disabling auto-tracking for the jj commandline (so that the latter can update and the former can view those updates).
A way to trigger a refresh without snapshotting (although I can still kind of live with my workaround of focusing and un-focusing).
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm a great fan of
ggand keep it open all the time while coding.What I would love is for it to stay in sync without affecting repo state:
ggauto-refresh when the repo changes, even when it doesn't have focus.ggthat the repo state has changed, without relaunching.ggto switch to another repo, without relaunching.ggfrom causing a fork in the op log.Currently I work around these as follows:
ggusing a script.ggusing a script.The last one is a real sticking point for me. I'm regularly seeing data races and corruption — even when I have my scripts carefully set up not to refresh
gguntil snapshot changes are done. In any ideal world, I'd like to able to runggout of the box and just keep an eye out on repo changes as I work in my editor. But I'm getting forks (and merges) in the op log all the time right now. This in turn preventsjj undofrom working, which means that it's often a pain to try to debug corruption from race conditions.There's probably a proper solution to this, like having a daemon coordinate
ggand the commandline or so.But as an incremental step, I'd love to see:
gg-specific setting for the functionality of adcae41 specifically without disabling auto-tracking for thejjcommandline (so that the latter can update and the former can view those updates).Beta Was this translation helpful? Give feedback.
All reactions