From: Junio C Hamano Date: Thu, 19 Nov 2020 21:32:09 GMT Subject: Re: [PATCH v4 1/2] hooks: allow input from stdin for commit-related hooks Message-ID: In-Reply-To: Eric Sunshine 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.