Selaa lähdekoodia

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.
Ben Boeckel 9 vuotta sitten
vanhempi
sitoutus
97149ff8db
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      Utilities/Scripts/update-third-party.bash

+ 1 - 1
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
 }