mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-09 08:40:11 -06:00
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:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user