[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: pre-commit hook to check syntax



* Thijs Kinkhorst:

>> I could change check-syntax so that it can read the data from standard
>> input.  This might eliminate the need for a temporary file.
>
> If you wish... I don't think it's essential but would of course make the
> process less complex.

The special file "-" should now cause check-syntax to read from
standard input.  Turns out that this wasn't too difficult to
implement.



Reply to: