Re: [PATCH v10 13/14] convert: add filter.<driver>.process option
From: Torsten Bögershausen <hidden>
Date: 2016-10-09 05:33:20
From: Torsten Bögershausen <hidden>
Date: 2016-10-09 05:33:20
On 09.10.16 01:06, Jakub Narębski wrote:
quoted
+------------------------quoted
+packet: git< status=abort +packet: git< 0000 +------------------------ + +After the filter has processed a blob it is expected to wait for +the next "key=value" list containing a command. Git will close +the command pipe on exit. The filter is expected to detect EOF +and exit gracefully on its own.Any "kill filter" solutions should probably be put here. I guess that filter exiting means EOF on its standard output when read by Git command, isn't it?
Isn't it that Git closes the command pipe, then filter sees EOF on it's stdin and does a graceful exit.