Commit f09764ed authored by Ben Boeckel's avatar Ben Boeckel

update-common: 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.
parent 24792bd5
......@@ -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
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment