-
Notifications
You must be signed in to change notification settings - Fork 49
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
Double sections #127
Comments
What happens if you press |
Only one TODOs section is displayed. To be clear, I mean the issue appears while double pressing |
Yes, there is nothing to stop the async process from being run multiple times at once and thereby inserting multiple sections. AFAIK it does no harm and would probably not be worth writing code to prevent this. |
I agree it does no harm, but I'd like suggest to check before inserting the TODO section if possible. |
It could be done, but it's not a priority for me, because this falls into the "well, don't do that" category. :) Patches welcome. |
See also: #145 |
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 <[email protected]>
While pressing
g
twice, two Todos sections are displayed in magit-status buffer as below.The text was updated successfully, but these errors were encountered: