summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2011-04-02 00:50:20 (GMT)
committerJunio C Hamano <gitster@pobox.com>2011-04-02 00:50:20 (GMT)
commit82d861f9d65080f5c66a5f3c956627af6ded78d9 (patch)
tree5383e83f71ea7e1b734b1d897624b2f2a2630c9a
parent142c945e6e6d944aff4187c55c3655d9608ca376 (diff)
parent52d269da7ec66338e733aaf839ce5b8ad6709337 (diff)
downloadgit-82d861f9d65080f5c66a5f3c956627af6ded78d9.zip
git-82d861f9d65080f5c66a5f3c956627af6ded78d9.tar.gz
git-82d861f9d65080f5c66a5f3c956627af6ded78d9.tar.bz2
Merge branch 'sb/sparse-more'
* sb/sparse-more: Makefile: Cover more files with make check
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b0f155a..92c1c5e 100644
--- a/Makefile
+++ b/Makefile
@@ -2162,7 +2162,7 @@ check-sha1:: test-sha1$X
check: common-cmds.h
if sparse; \
then \
- for i in *.c; \
+ for i in $(patsubst %.o, %.c, $(GIT_OBJS)); \
do \
sparse $(ALL_CFLAGS) $(SPARSE_FLAGS) $$i || exit; \
done; \