Re: [PATCH 3/3] completion: match ctags symbol names in grep patterns
- From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
- Date
- Oct 18, 2011, 07:41 UTC
- Message-ID
- <vpqpqhug31l.fsf@bauges.imag.fr>
- In-Reply-To
- <7v8voiiwfo.fsf@alter.siamese.dyndns.org>
Junio C Hamano <gitster@pobox.com> 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.
-- Matthieu Moy http://www-verimag.imag.fr/~moy/