Re: [PATCH v4 1/2] hooks: allow input from stdin for commit-related hooks
Eric Sunshine <sunshine@sunshineco.com> writes:
Show 7 quoted lines
> 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.