Skip to content

Conversation

@Alizter
Copy link
Collaborator

@Alizter Alizter commented Dec 15, 2025

Signed-off-by: Ali Caglayan <alizter@gmail.com>
@Alizter Alizter requested a review from rgrinberg December 30, 2025 11:37
@Alizter Alizter marked this pull request as ready for review December 30, 2025 11:37
Copy link
Member

@rgrinberg rgrinberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are there any tests where these messages are still being printed?

| Entering_printed dir ->
(* make sure all buffered stdout output comes before the "leaving" message
or else it will interleave. *)
flush stdout;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you move this refactoring (the moving of flush into finish) into a separate PR?

flush stdout;
directory := Set dir;
M.print_user_message
(User_message.make [ Pp.verbatimf "Leaving directory '%s'" dir ])
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The change from verbatim to verbatimf should also be a separate PR

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rgrinberg here you can observe how it prints when there is output

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

--display=quiet has no effect on --root-changing messages

2 participants