Thread (1 message) 1 message, 1 author, 2020-11-19

Re: [PATCH v4 1/2] hooks: allow input from stdin for commit-related hooks

From: Junio C Hamano <hidden>
Date: 2020-11-19 21:32:18

Eric Sunshine [off-list ref] writes:
Rather than making such a fundamental change and having to deal with
the fallout by introducing complexity to handle various special-cases
which pop up now and in the future, I wonder if it makes more sense to
instead just update documentation to tell hook authors to read
explicitly from the console rather than expecting stdin to be
available (since stdin may already be consumed for other purposes when
dealing with hooks or commands which invoke the hooks).
;-)

Thanks for saying this.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help