From: Junio C Hamano Date: Thu, 29 Sep 2016 21:17:25 GMT Subject: Re: [PATCH v8 00/11] Git filter protocol Message-ID: In-Reply-To: Jakub Narębski 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.