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

Re: Topics currently in the Stalled category

From
Jeff King <peff@peff.net>
Date
Nov 28, 2012, 03:12 UTC
Message-ID
<20121128031238.GC27772@sigill.intra.peff.net>
In-Reply-To
<CAMP44s3F4MPm-kLAW67rZG8oZg76CGS32h44LnK05UT11TOnSA@mail.gmail.com>
On Wed, Nov 28, 2012 at 04:10:07AM +0100, Felipe Contreras wrote:
Show 9 quoted lines
> >> Why generate it? There's nothing to generate. python's source code
> >> needs regeneration, bash's code doesn't.
> >
> > We fix up the #!-lines on all of the existing shell scripts (as well as
> > python and perl). Wouldn't we want to do the same for people who have
> > bash in an alternate location?
> 
> '#!/usr/bin/env bash' should take care of people who have bash in an
> alternate location, no?

If that is where there env is. I do not recall offhand if that is a problem for anyone. Still, I don't think it is that big a deal to treat it like we do other scripts, and provide the usual boilerplate (which also gets us NO_BASH if you have an old or broken bash and want to skip the tests). I just sent a patch.

-Peff
Previous: Felipe ContrerasNext: Jeff King
Message 9 of 15 in “What's cooking in git.git (Nov 2012, #06; Mon, 19)”
  1. Junio C HamanoNov 19, 2012
  2. Felipe ContrerasNov 20, 2012
  3. Paul FoxNov 20, 2012
  4. Junio C HamanoNov 20, 2012
  5. Topics currently in the Stalled categoryJunio C Hamano, Nov 21, 2012
  6. Felipe ContrerasNov 21, 2012
  7. Jeff KingNov 28, 2012
  8. Felipe ContrerasNov 28, 2012
  9. Jeff KingNov 28, 2012
  10. Jeff KingNov 28, 2012
  11. Felipe ContrerasNov 28, 2012
  12. Jeff KingNov 28, 2012
  13. Felipe ContrerasNov 28, 2012
  14. Marc BranchaudNov 21, 2012
  15. Adam SpiersDec 1, 2012

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.