diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2016-02-08 18:37:01 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-03-09 18:57:57 (GMT) |
commit | 97149ff8db660c4cb49b5061157f3d0b34adcacb (patch) | |
tree | fda6d305ab7c36698516fbc6b9a8e7b893425ea3 | |
parent | a35f4be61ff49e39152d63e4a8b56ee820d4c5fe (diff) | |
download | CMake-97149ff8db660c4cb49b5061157f3d0b34adcacb.zip CMake-97149ff8db660c4cb49b5061157f3d0b34adcacb.tar.gz CMake-97149ff8db660c4cb49b5061157f3d0b34adcacb.tar.bz2 |
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.
-rw-r--r-- | Utilities/Scripts/update-third-party.bash | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Utilities/Scripts/update-third-party.bash b/Utilities/Scripts/update-third-party.bash index d973671..6aeeccd 100644 --- a/Utilities/Scripts/update-third-party.bash +++ b/Utilities/Scripts/update-third-party.bash @@ -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 } |