From: Junio C Hamano Date: Tue, 26 Sep 2006 04:54:04 GMT Subject: Re: [PATCH] perl bindings fix compilation errors Message-ID: <7vfyeftehf.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <4517BEBC.4000002@shadowen.org> Andy Whitcroft writes: > I am somewhat unhappy that a make clean at the top level and remake was > not sufficient to get a working tree. Sympathetic I am (since I was bitten by it too), but I am not sure what the right thing to do. It is certainly incorrect to say that it is a driver error to git-pull (or git-checkout to switch branches) without running "make clean" first to get rid of perl/Git.c while your Makefile still knows it is a generated file. Our Makefile should be more helpful. But the question is Makefile in which branch? Ideally, if Makefile of each and every branch head currently alive knew that perl/Git.c is problematic and removed it, then we would not suffer from this problem. But it's obviously not practical.