Subject: Re: git hook question

From: Junio C Hamano <[email-masked]>
Date: Mon, 01 Jun 2026 14:33:13 +0900

Jeff King <[email-masked]> writes:

> I don't think so; the command is expected to handle (or ignore) the
> arguments as appropriate.

We should also caution that the command is expected to handle not
just the arguments but its standard input.  Not reading any and
exiting may be a no-no for some hooks.

And unlike command line arguments, there is no handy way to say "I
do not care what the input is" (other than putting "cat >/dev/null;" 
in front of what you really want to do, that is).