Code

Merge branch 'sb/sparse-more'
authorJunio C Hamano <gitster@pobox.com>
Sat, 2 Apr 2011 00:50:20 +0000 (17:50 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sat, 2 Apr 2011 00:50:20 +0000 (17:50 -0700)
* sb/sparse-more:
  Makefile: Cover more files with make check

Makefile

index b0f155ab305d1795ada45060460c52594e7a366a..92c1c5e23b96f8bed1b1ac2dbff6c05580ecf678 100644 (file)
--- 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; \