summaryrefslogtreecommitdiffstats
path: root/Utilities/Scripts
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2016-02-08 18:37:01 (GMT)
committerBrad King <brad.king@kitware.com>2016-03-09 18:57:57 (GMT)
commit97149ff8db660c4cb49b5061157f3d0b34adcacb (patch)
treefda6d305ab7c36698516fbc6b9a8e7b893425ea3 /Utilities/Scripts
parenta35f4be61ff49e39152d63e4a8b56ee820d4c5fe (diff)
downloadCMake-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.
Diffstat (limited to 'Utilities/Scripts')
-rw-r--r--Utilities/Scripts/update-third-party.bash2
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
}