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

Re: t5562: gzip -k is not portable

From
RCRodrigo Campos <rodrigo@sdfg.com.ar>
Date
Jun 19, 2018, 20:53 UTC
Message-ID
<20180619205304.m37wkgl3ojuzmwo6@sdfg.com.ar>
In-Reply-To
<117d2657-067a-6fe6-3713-de7a5aa75a11@web.de>
On Tue, Jun 19, 2018 at 10:40:16PM +0200, Torsten Bögershausen wrote:
Show 11 quoted lines
> 
> 
> On 06/19/2018 08:22 PM, Eric Sunshine wrote:
> > On Tue, Jun 19, 2018 at 2:06 PM Junio C Hamano <gitster@pobox.com> wrote:
> > > Torsten Bögershausen <tboegi@web.de> writes:
> > > > t5562 fails here under MacOS:
> > > > "gzip -k"  is not portable.
> > Very odd. Stock /usr/bin/gzip on my MacOS 10.12.6 _does_ recognize -k,
> > and the test does pass.
> 
> gzip 1.3.12

Oh, this seems to be the issue. As I've said in my prvious email, the first version to include this was 1.6 IIRC.

The commit adding it is here[1]. But yeah, it was not added 20 years ago, and it seems there are systems with such old versions of gzip (although can probably update? Don't know much about mac) :-(

[1]: http://git.savannah.gnu.org/cgit/gzip.git/commit/?id=0192f02e26ac9fa0a27ed177263ee3ea73d5e95c
Previous: Torsten BögershausenNext: Rodrigo Campos
Message 9 of 10 in “t5562: gzip -k is not portable”
  1. Torsten BögershausenJun 19, 2018
  2. Junio C HamanoJun 19, 2018
  3. Eric SunshineJun 19, 2018
  4. Torsten BögershausenJun 19, 2018
  5. Jeff KingJun 19, 2018
  6. Torsten BögershausenJun 20, 2018
  7. Jeff KingJun 20, 2018
  8. Torsten BögershausenJun 20, 2018
  9. Rodrigo CamposJun 19, 2018
  10. Rodrigo CamposJun 19, 2018

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.