Browse Source

explain why we use git archive

master
Matthieu Moy 12 years ago
parent
commit
a78cbfbc6a
  1. 1
      git-latexdiff

1
git-latexdiff

@ -366,6 +366,7 @@ else
checkoutroot="." checkoutroot="."
fi fi
# Checkout a subtree, without touching the index ("git checkout" would)
(cd "$git_dir" && git archive --format=tar "$old" "$checkoutroot") | tar -xf - (cd "$git_dir" && git archive --format=tar "$old" "$checkoutroot") | tar -xf -
verbose_progress verbose_progress
cd ../new || die "Cannot cd to new/" cd ../new || die "Cannot cd to new/"

Loading…
Cancel
Save