Thread (1 message) 1 message, 1 author, 2016-06-15

Re: git archive --format zip utf-8 issues

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:54:51

René Scharfe [off-list ref] writes:
"git 1" is the patch "archive-zip: support UTF-8 paths" added, which
let's archive-zip make use of the UTF-8 flag.  "git 2" is "git 1" plus
the patch "archive-zip: declare creator to be Unix for UTF-8
paths". Both have been posted before.  "git 3" is "git 1" plus the new
patch "archive-zip: write extended timestamp".

Let's drop patch 2 (Unix as creator) and keep patches 1 (UTF-8 flag)
and 3 (mtime field) to make archive-zip record non-ASCII filenames in
a portable way.  It's not perfect, but I don't know how to do any
better given that Windows' built-in ZIP functionality expects
filenames in the local code page and with an international audience
for projects distributing ZIP files.
Thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help