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

Re: Portability of git shell scripts?

From
Jeff King <peff@peff.net>
Date
May 7, 2016, 02:53 UTC
Message-ID
<20160507025320.GA31460@sigill.intra.peff.net>
In-Reply-To
<CALR6jEiWQUO0WsOVah2O+9-j2Qx7juYjP7cb1v+P=Ey0oqQszg@mail.gmail.com>
On Fri, May 06, 2016 at 06:57:45PM +0200, Armin Kunaschik wrote:
Show 5 quoted lines
> > Right. Any modern-ish Bourne shell will do, so moving to bash is one
> > way to fix it.
> 
> My last compile of git 2.2.2 did far better than the current 2.8.2. So
> it looks like there were more recent changes that broke portability.

If you have a working version and a non-working version, the results of "git bisect" would be very helpful to find the change (or the output of the test run with "-v -i" to show what's going on in the failing test).

-Peff
Previous: Armin Kunaschik
Message 5 of 5 in “Portability of git shell scripts?”
  1. Armin KunaschikMay 4, 2016
  2. Torsten BögershausenMay 4, 2016
  3. Jeff KingMay 4, 2016
  4. Armin KunaschikMay 6, 2016
  5. Jeff KingMay 7, 2016

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.