From: Nanako Shiraishi Date: Sun, 05 Apr 2009 07:28:41 GMT Subject: Re: [PATCH] revision.h: add includes of "diff.h" and "commit.h" Message-ID: <20090405162841.6117@nanako3.lavabit.com> In-Reply-To: <20090404214554.75ada117.chriscool@tuxfamily.org> Quoting Christian Couder : > Because they are needed by some features included in > "revision.h". > > This makes the following just work: > > $ cat >1.c <<\EOF > #include "cache.h" > #include "revision.h" > EOF > $ cc -Wall -DSHA1_HEADER='' -c 1.c I'm sorry if this is obvious to experienced people, but I don't understand what benefit there is to make such an empty program compilable. -- Nanako Shiraishi http://ivory.ap.teacup.com/nanako3/