diff options
author | brian m. carlson <sandals@crustytoothpaste.net> | 2014-08-03 03:02:03 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-08-04 11:39:11 -0700 |
commit | 10f343ea814f5c18a0913997904ee11cd9b7da24 (patch) | |
tree | 9152810c20e2c9a5453f2c69c35904826030be55 /advice.c | |
parent | Documentation: fix missing text for rev-parse --verify (diff) | |
download | tgif-10f343ea814f5c18a0913997904ee11cd9b7da24.tar.xz |
archive: honor tar.umask even for pax headers
git archive's tar format uses extended pax headers to encode metadata
into the archive. Most tar implementations correctly treat these as
metadata, but some that do not understand the pax format extract these
as files instead. Apply the tar.umask setting to these entries to
prevent tampering by other users.
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'advice.c')
0 files changed, 0 insertions, 0 deletions