summaryrefslogtreecommitdiff
path: root/Documentation/RelNotes/1.7.6.5.txt
diff options
context:
space:
mode:
authorLibravatar René Scharfe <l.s.r@web.de>2017-08-19 07:32:37 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-08-19 00:40:25 -0700
commit5ff247ac0cc9b2d09c8c24bd0c8df12eed94aebc (patch)
tree3491f059ec09b1fedd756f2f76ba7c700574500e /Documentation/RelNotes/1.7.6.5.txt
parentarchive: factor out helper functions for handling attributes (diff)
downloadtgif-5ff247ac0cc9b2d09c8c24bd0c8df12eed94aebc.tar.xz
archive: don't queue excluded directories
Reject directories with the attribute export-ignore already while queuing them. This prevents read_tree_recursive() from descending into them and this avoids write_archive_entry() rejecting them later on, which queue_or_write_archive_entry() is not prepared for. Borrow the existing strbuf to build the full path to avoid string copies and extra allocations; just make sure we restore the original value before moving on. Keep checking any other attributes in write_archive_entry() as before, but avoid checking them twice. Signed-off-by: Rene Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/RelNotes/1.7.6.5.txt')
0 files changed, 0 insertions, 0 deletions