From: Junio C Hamano Date: Tue, 18 Oct 2011 07:55:44 GMT Subject: Re: [PATCH 3/3] completion: match ctags symbol names in grep patterns Message-ID: <7vvcrmhgxr.fsf@alter.siamese.dyndns.org> In-Reply-To: Matthieu Moy writes: > Junio C Hamano writes: > >>>> +git_check = $(shell git ls-files >/dev/null 2>&1; echo $$?) >>>> +ifeq ($(git_check),0) > >> Hmm, how would this punish anybody exactly (I just took the structure >> from the way how the auto-depend is done)? > > The "shell git ls-files" is ran unconditionnally, hence a small > performance penality even if you don't run ctags. You mean it is run once whenever you type "make "? Doesn't the same argument apply for the auto-depend thingy against "make doc"?