commit e4ca14132ba73f03dbfbdc465d31619781b465f3 from: Omar Polo via: Thomas Adam date: Sun Sep 04 18:20:15 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 - 07894e99b111edc91d20565e0982344b52b32095 commit + e4ca14132ba73f03dbfbdc465d31619781b465f3 blob - fc35ac61061857e29979534c8c13565b1fc1e253 blob + df390724e9edfa06b08182337c4be01973733a6f --- 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; }