From 97149ff8db660c4cb49b5061157f3d0b34adcacb Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Mon, 8 Feb 2016 13:37:01 -0500 Subject: [PATCH] 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. --- Utilities/Scripts/update-third-party.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Utilities/Scripts/update-third-party.bash b/Utilities/Scripts/update-third-party.bash index d9736719a..6aeeccd1b 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 }