On Mon, 15 Oct 2007, Benoit SIGOURE wrote:Ouch. That sounds largely unavoidable.. *But*. Maybe we have a bug here. In particular, we generally shouldn't care about the exclude/.gitignore file for ay paths that we know about, which means that during an import, we really shouldn't ever even care about .gitignore, since all the files are files we are expected to know about. So yes, in general, "git status" is going to be slow in a tree that has been built (since things like object files etc will have to be checked against the exclude list! (*)), but if it's a clean import with no generated files and only files we already know about, that should not be the case. So maybe we have a totally unnecessary performance issue, and do all the fnmatch() on every path, whether we know about it or not? Linus (*) It might be that we could also re-order the exclude list so that entries that trigger are moved to the head of the list, because it's likely that if you have tons of exclude entries, some of them trigger a lot more than others (ie "*.o"), and trying those first is likely a good idea. - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
| Al Boldi | [RFD] Incremental fsck |
| Andi Kleen | kgdb in git-x86#mm review |
| Arnd Hannemann | 2.6.24-rc8 hangs at mfgpt-timer |
| David Miller | Re: [11/14] vcompound: Fallbacks for order 1 stack allocations on IA64 and x86 |
git: | |
| drew | Re: SVGA-alphanum. modes |
| Raymond Nijssen | Re: What the 17" monitor reviews never tell you |
| Paul Richards | Header files |
| Joseph R. Pannon | More install questions |
| Gerrit Renker | [PATCH 15/37] dccp: Set per-connection CCIDs via socket options |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| David Miller | [GIT]: Networking |
| Eric Dumazet | Re: [PATCH 3/3] Convert the UDP hash lock to RCU |
