From: Jay Soffian Date: Mon, 23 Feb 2009 13:41:22 GMT Subject: Re: [PATCH v2 09/13] refactor duplicated ref_newer() to remote.c Message-ID: <76718490902230541k584e469bp5530b605bb700ef9@mail.gmail.com> In-Reply-To: <49A263FB.7030308@viscovery.net> On Mon, Feb 23, 2009 at 3:53 AM, Johannes Sixt wrote: > Jay Soffian schrieb: >> diff --git a/remote.c b/remote.c >> index 2c010a1..d0053d5 100644 >> --- a/remote.c >> +++ b/remote.c >> @@ -5,6 +5,7 @@ >> #include "diff.h" >> #include "revision.h" >> #include "dir.h" >> +#include "tag.h" > > You are only moving code from http-push.c and builtin-send-pack.c to > remote.c, but you have to add this '#include "tag.h"' here. How high are > the chances that you can remove the #include lines from http-push.c and > builtin-send-pack.c? 50/50 as it turns out. Junio, please squash this in if you don't mind: diff --git a/builtin-send-pack.c b/builtin-send-pack.c index 186cecb..9072905 100644 --- a/builtin-send-pack.c +++ b/builtin-send-pack.c @@ -1,6 +1,5 @@ #include "cache.h" #include "commit.h" -#include "tag.h" #include "refs.h" #include "pkt-line.h" #include "run-command.h" j.