Re: Bug report : bad filter-branch (OSX only)
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Apr 29, 2015, 17:13 UTC
- Message-ID
- <xmqqegn26eot.fsf@gitster.dls.corp.google.com>
- In-Reply-To
- <20150429164315.GA26682@peff.net>
Jeff King <peff@peff.net> writes:
> ... would behave incorrectly without "-r". I would be shocked if that ever > happens in real life, but I think it doesn't hurt to be careful.
Ahh, OK. I overlooked the continued-line possibility.
> $$ is always the pid of the main shell process,...
Thanks for straightening me out---I was too lazy to run strace ;-)
> ... But I can imagine a shell that is smart > enough to realize a fork is not required in this instance.
Yup. I think that is a natural thing to optimize for implementors of shells.
Thanks.