update-third-party: read attributes from the worktree

This should be done so that any attributes for ignoring certain files
when exporting can be appended to the file during the extraction step,
but ignored in the actual import. Necessary for importing the gitsetup
repository.
This commit is contained in:
Ben Boeckel 2016-02-08 13:37:01 -05:00 committed by Brad King
parent a35f4be61f
commit 97149ff8db
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@
# Utility functions
########################################################################
git_archive () {
git archive --prefix="$name-reduced/" HEAD -- $paths | \
git archive --worktree-attributes --prefix="$name-reduced/" HEAD -- $paths | \
tar -C "$extractdir" -x
}