-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Branched todos section may appear multiple times when reloading too quickly #145
Comments
Hi Matthias, Thanks for reporting this. I've seen it occasionally myself. It appears to simply be a matter of my not implementing a check for multiple such scans happening in this code: Line 755 in 7724259
Whereas the main scanners have such a check: Lines 725 to 732 in 7724259
|
Should the check be implemented in |
Probably here: Line 755 in 7724259
|
This is to prevent the scan to be run multiple times and show more than once in Magit's buffer Fixes alphapapa#145 && alphapapa#127 Modified-by: Adam Porter <adam@alphapapa.net>
Hello,
When reloading the buffer while the main TODOs list has not been populated yet, the branched section will appear multiple times.
To reproduce on this repo, branch out of master, add a todo anywhere in the code, run
magit-status
then holdG
for a couple of seconds.This is what happens :
I have not yet been able to identify why this happens, maybe it is a known issue.
The text was updated successfully, but these errors were encountered: