#386: --status is very slow ----------------------------+----------------------------------------------- Reporter: eschnett | Owner: eric9 Type: defect | Status: accepted Priority: major | Milestone: Component: GetComponents | Version: Resolution: | Keywords: ----------------------------+-----------------------------------------------
Comment (by eschnett):
I did not modify the thorn list. I do have some local changes in my source tree.
Adding --verbose helps:
Executing: git status -s In: /Users/eschnett/EinsteinToolkit-vanilla/./repos/carpet
It turns out that GetComponents does not get stuck after all. However, since I redirected stdout, the final question ("Would you like a diff for these files?") is not printed to the screen.
There needs to be a flush statement, preferably for both stdout and stderr, every time user input is expected. Such flush statements are also a good idea for debug output before a potentially fatal operation.