Skip to content

Commit ff66808

Browse files
committed
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.
1 parent cc20297 commit ff66808

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ TMPDIR = .repo_tmp
1313
cd $(TMPDIR) && git reset -q "$(shell cat .gitrev)"
1414
mv $(TMPDIR)/.git .
1515
rm -rf $(TMPDIR)
16-
git checkout -- .hgtags .hgignore Doc/s5
16+
git ls-files -d | xargs git checkout --
1717

1818
repo: .git
1919

0 commit comments

Comments
 (0)