summaryrefslogtreecommitdiff
path: root/builtin/checkout.c
diff options
context:
space:
mode:
authorLibravatar brian m. carlson <sandals@crustytoothpaste.net>2014-08-03 03:02:03 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-08-04 11:39:11 -0700
commit10f343ea814f5c18a0913997904ee11cd9b7da24 (patch)
tree9152810c20e2c9a5453f2c69c35904826030be55 /builtin/checkout.c
parentDocumentation: fix missing text for rev-parse --verify (diff)
downloadtgif-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 'builtin/checkout.c')
0 files changed, 0 insertions, 0 deletions