git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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.
Previous: Jeff KingNext: Johannes Sixt
Message 10 of 12 in “Bug report : bad filter-branch (OSX only)”
  1. Olivier ROLANDApr 26, 2015
  2. Jeff KingApr 28, 2015
  3. Olivier ROLANDApr 28, 2015
  4. Jeff KingApr 29, 2015
  5. Jeff KingApr 29, 2015
  6. Junio C HamanoApr 29, 2015
  7. Jeff KingApr 29, 2015
  8. Junio C HamanoApr 29, 2015
  9. Jeff KingApr 29, 2015
  10. Junio C HamanoApr 29, 2015
  11. Johannes SixtApr 29, 2015
  12. Roberto TyleyApr 29, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.