Junio C Hamano wrote: > Jonathan Nieder <jrnieder@xxxxxxxxx> writes: >> Tiny nit: I might use >> >> $(shell $(FIND) * \ >> -name . -o >> -name '.*' -prune -o \ >> -name t -prune -o \ >> -name Documentation -prune -o \ >> -name '*.h' -print) >> >> or >> >> $(shell $(FIND) * \ >> -name '.?*' -prune -o \ >> -name t -prune -o \ >> -name Documentation -prune -o \ >> -name '*.h' -print) >> >> to avoid spending time looking in other dot-directories like .svn, >> .hg, or .snapshot. > > Wouldn't it be sufficient to start digging not from "*" but from > "??*"? Gah, the * was supposed to be . in my examples (though it doesn't hurt). > find ??* \( -name Documentation -o -name .\?\* \) -prune -o -name \*.h Heh. Yeah, that would work. ;-) -- 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