Browse files

Makefile: checkout all missing files for repo target

Rather than try to maintain a list of the file differences between the
git repository and the source distribution tarball, just get a listing from
git itself and use it to check out the missing files.
  • Loading branch information...
drafnel committed Aug 24, 2011
1 parent cc20297 commit ff668088257809737492daf55962d66ce0922a96
Showing with 1 addition and 1 deletion.
  1. +1 −1 Makefile
@@ -13,7 +13,7 @@ TMPDIR = .repo_tmp
cd $(TMPDIR) && git reset -q "$(shell cat .gitrev)"
mv $(TMPDIR)/.git .
rm -rf $(TMPDIR)
- git checkout -- .hgtags .hgignore Doc/s5
+ git ls-files -d | xargs git checkout --
repo: .git

0 comments on commit ff66808

Please sign in to comment.