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

Re: [PATCH] Add missing test file for UTF-16.

From
Duy Nguyen <pclouds@gmail.com>
Date
Aug 4, 2013, 02:31 UTC
Message-ID
<CACsJy8CT3uxp99n9VUXDbL30WEDcuRreeJBaqBcx9Ujici67VA@mail.gmail.com>
In-Reply-To
<1375550791-5823-1-git-send-email-sandals@crustytoothpaste.net>

On Sun, Aug 4, 2013 at 12:26 AM, brian m. carlson <sandals@crustytoothpaste.net> wrote:

Show 5 quoted lines
> The test file that the UTF-16 rejection test looks for is missing, but this went
> unnoticed because the test is expected to fail anyway; as a consequence, the
> test fails because the file containing the commit message is missing, and not
> because the test file contains a NUL byte.  Fix this by including a sample text
> file containing a commit message encoded in UTF-16.
Tested-by: Duy Nguyen <pclouds@gmai.com>
and sorry, my bad. I think we need your sign-off in this patch.
Show 20 quoted lines
> ---
>  t/t3900/UTF-16.txt | Bin 0 -> 146 bytes
>  1 file changed, 0 insertions(+), 0 deletions(-)
>  create mode 100644 t/t3900/UTF-16.txt
>
> diff --git a/t/t3900/UTF-16.txt b/t/t3900/UTF-16.txt
> new file mode 100644
> index 0000000000000000000000000000000000000000..2257f05a992a4b9500f6ff33752cbdf8fb58c99d
> GIT binary patch
> literal 146
> zcmW-aJqm<C6obFoQ_KYvZ0uz~uwFfY_=AGZf}@2;@>bjKEzFY?FCi}po-doQaNvlX
> zuj<&j$Vh~SS#Fd&>8^}o3xQtzWRNy5zCGpzu|P`62Tv_HZgu?B*(r7K7qg7DI9e@K
> J`p+qB@d1eo8QA~;
>
> literal 0
> HcmV?d00001
>
> --
> 1.8.4.rc1
>
-- 
Duy
Previous: brian m. carlsonNext: brian m. carlson
Message 2 of 6 in “Add missing test file for UTF-16.”
  1. Add missing test file for UTF-16.brian m. carlson, Aug 3, 2013
  2. Duy NguyenAug 4, 2013
  3. brian m. carlsonAug 4, 2013
  4. Junio C HamanoAug 5, 2013
  5. Duy NguyenAug 6, 2013
  6. Junio C HamanoAug 6, 2013

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.