Matthieu Moy <Matthieu.Moy@xxxxxxxxxxxxxxx> writes: > Junio C Hamano <gitster@xxxxxxxxx> 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 <RETURN>"? Doesn't the same argument apply for the auto-depend thingy against "make doc<RETURN>"? -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html