Subject: Re: [PATCH v8 00/11] Git filter protocol

From: Junio C Hamano <[email-masked]>
Date: Thu, 29 Sep 2016 14:17:25 -0700

Jakub Narębski <[email-masked]> writes:

> Or even better: make filter driver write its pid to pidfile, and then
> "wait $(cat rot13-filter.pid)".  That's what we do in lib-git-daemon.sh
> (I think).

I am not sure if "wait"ing on a random process that is not a direct
child is a reasonable thing to do, but I like the direction.

Communicate with a pidfile and wait until "kill -0 $that_pid" fails,
or something like that, would be clean enough.