You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The global handler (from git-features) will respond correctly but the process will refuse to terminate until EOF (ctrl-d) is provided.
I believe the "hanging" behavior is attributed to .lines() call in gitoxide-core/pack/create.rs:L89 as that call will continue to read from the buffer until EOF.
Not sure what the best solution is here, since the global handler implies it will terminate but it never actually does, but on the other hand this isn't quite a user facing tool, so they might realize they just need to send an EOF to stop it.
The text was updated successfully, but these errors were encountered:
In 'small' for instance, the program will be terminated as there is
no global interrupt handler.
In other builds, we have to prevent it from hanging ourselves by
checking for interrupts or by avoiding getting into situations
where we do blocking reads/writes.
Related to #92
Repro steps:
./gixp pack-create > /dev/null
The global handler (from
git-features
) will respond correctly but the process will refuse to terminate untilEOF
(ctrl-d) is provided.I believe the "hanging" behavior is attributed to
.lines()
call ingitoxide-core/pack/create.rs:L89
as that call will continue to read from the buffer until EOF.Not sure what the best solution is here, since the global handler implies it will terminate but it never actually does, but on the other hand this isn't quite a user facing tool, so they might realize they just need to send an EOF to stop it.
The text was updated successfully, but these errors were encountered: