commit 04666d1a54c25c8be7e39bc628b4a80f3376c127 from: Omar Polo date: Sun Sep 04 17:37:39 2022 UTC got: fflush(stdout) after asking questions Not everywhere getline does an implicit fflush, so we might end up not showing the prompt to the user. Spotted on alpine with muslc. ok Thomas Adams commit - c877c437470e41e7f70828c916ff40189b097fe2 commit + 04666d1a54c25c8be7e39bc628b4a80f3376c127 blob - e8369725fe5afccaf92cac20559a3594304240bd blob + 1877932f7650a337705d19c325c27b9f594e54bf --- got/got.c +++ got/got.c @@ -8119,6 +8119,7 @@ show_change(unsigned char status, const char *path, FI return got_error_path(path, GOT_ERR_FILE_STATUS); } + fflush(stdout); return NULL; }