Re: Issue with git > 2.36.1 and pre-commit hook on macOS M1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12.12.2022 14:29, René Scharfe wrote:

While "docker compose" is right in that stdin is not a TTY, it never
was.  Redirecting the output its seems to help.  So I guess it checks if
stdout is connected to a terminal and then expects stdin to be a TTY as
well.  Try appending " | cat" to the command in the pre-commit hook,
which breaks the connection for stdout.

René

Just to be sure if I understand this correctly. It is probably a bug in docker compose expecting stdin to be a TTY, right? I'll write some bug report to them, maybe they will take care of this since it is only on MacOS and all works fine with Linux.

Thank you for checking this René.



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux