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

Re: [PATCH] archive: add test testing MIME for created archive through compression filter

From
Junio C Hamano <gitster@pobox.com>
Date
Oct 11, 2021, 15:48 UTC
Message-ID
<xmqqpmsbd0ka.fsf@gitster.g>
In-Reply-To
<20211011112712.475306-1-bagasdotme@gmail.com>
Bagas Sanjaya <bagasdotme@gmail.com> writes:
Show 5 quoted lines
> +	cat >expect <<EOF &&
> +HEAD.tar.bz2: application/x-bzip2; charset=binary
> +HEAD.tar.gz:  application/gzip; charset=binary
> +HEAD.tar.xz:  application/x-xz; charset=binary
> +EOF
Use <<-EOF and you can align here-document to the script.
> +	file -i HEAD.tar.bz2 HEAD.tar.gz HEAD.tar.xz 2>/dev/null >actual &&
This looks super un-portable.
  https://pubs.opengroup.org/onlinepubs/9699919799/utilities/file.html
Previous: Bagas SanjayaNext: Junio C Hamano
Message 2 of 6 in “archive: add test testing MIME for created archive through compression filter”
  1. archive: add test testing MIME for created archive through compression filterBagas Sanjaya, Oct 11, 2021
  2. Junio C HamanoOct 11, 2021
  3. Junio C HamanoOct 11, 2021
  4. Jeff KingOct 11, 2021
  5. Bagas SanjayaOct 12, 2021
  6. Junio C HamanoOct 12, 2021

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.