Re: [BUG?] applypatch-msg hook no-longer thinks stdin is a tty
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Oct 2, 2015, 16:03 UTC
- Message-ID
- <xmqqvbap5kbr.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <CAFOYHZArBv=2E_YonCqOSC4mWk9=xkbG9FyB+zNFFAqmUBUKHA@mail.gmail.com>
Chris Packham <judge.packham@gmail.com> writes:
> As of git 2.6 this has stopped working and stdin always fails the tty > check.
We now run that hook thru run_hook_ve(), which closes the standard input (as the hook is not reading anything). Perhaps you can check if your output is connected to the tty instead?