Re: Performance issue with excludes (was: Re: git-svn and submodules)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linus Torvalds
Date: Monday, October 15, 2007 - 9:34 am

On Mon, 15 Oct 2007, Benoit SIGOURE wrote:

I think your test is scrogged. You should add the ".gitignore" file 
*before* you do the "git add .". That's when it's going to hurt (since 
that's when you have new files you don't yet know about).

But then it should hurt only for the "git add ." phase, not for anything 
else (unless we have the performance bug of doing the ignore matching even 
on files we know about). And more importantly, it should hurt only once 
(since afterwards, we'll know about the files and know not to ignore 
them).

		Linus
-
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
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC] CLI option parsing and usage generation for porcelains, Pierre Habouzit, (Sat Oct 13, 6:29 am)
[PATCH] Add a simple option parser., Pierre Habouzit, (Sat Oct 13, 6:29 am)
[PATCH] Port builtin-add.c to use the new option parser., Pierre Habouzit, (Sat Oct 13, 6:29 am)
[PATCH] Make builtin-rm use parse_options., Pierre Habouzit, (Sat Oct 13, 6:29 am)
[PATCH] Make builtin-mv use parse-options, Pierre Habouzit, (Sat Oct 13, 6:29 am)
[PATCH] Make builtin-branch.c use parse_options., Pierre Habouzit, (Sat Oct 13, 6:29 am)
[PATCH] Make builtin-describe use parse_options, Pierre Habouzit, (Sat Oct 13, 6:29 am)
[PATCH] Make git-fetch use parse_options., Pierre Habouzit, (Sat Oct 13, 6:29 am)
[PATCH] Make builtin-revert.c use parse_options., Pierre Habouzit, (Sat Oct 13, 6:29 am)
[PATCH] Make builtin-update-ref.c use parse_options, Pierre Habouzit, (Sat Oct 13, 6:29 am)
[PATCH] Make builtin-symbolic-ref.c use parse_options., Pierre Habouzit, (Sat Oct 13, 6:29 am)
[PATCH] Make builtin-http-fetch use parse_options., Pierre Habouzit, (Sat Oct 13, 6:29 am)
Re: [PATCH] Add a simple option parser., Johannes Schindelin, (Sat Oct 13, 7:39 am)
Re: [PATCH] Port builtin-add.c to use the new option parser., Johannes Schindelin, (Sat Oct 13, 7:47 am)
Re: [PATCH] Add a simple option parser., Pierre Habouzit, (Sat Oct 13, 7:58 am)
Re: [PATCH] Port builtin-add.c to use the new option parser., Pierre Habouzit, (Sat Oct 13, 8:03 am)
Re: [PATCH] Add a simple option parser., Alex Riesen, (Sat Oct 13, 12:16 pm)
Re: [PATCH] Port builtin-add.c to use the new option parser., Pierre Habouzit, (Sat Oct 13, 1:27 pm)
Re: [PATCH] Add a simple option parser., Pierre Habouzit, (Sat Oct 13, 1:54 pm)
Re: [PATCH] Add a simple option parser., Alex Riesen, (Sat Oct 13, 3:14 pm)
Re: [PATCH] Add a simple option parser., Pierre Habouzit, (Sun Oct 14, 12:02 am)
[PATCH] Simplify usage string printing, Jonas Fonseca, (Sun Oct 14, 7:01 am)
Re: [PATCH] Simplify usage string printing, Pierre Habouzit, (Sun Oct 14, 9:26 am)
[PATCH] parse-options: Allow abbreviated options when unam ..., Johannes Schindelin, (Sun Oct 14, 9:54 am)
Re: [PATCH] parse-options: Allow abbreviated options when ..., Johannes Schindelin, (Sun Oct 14, 11:02 am)
Re: [PATCH] parse-options: Allow abbreviated options when ..., Pierre Habouzit, (Sun Oct 14, 11:08 am)
Re: [PATCH] parse-options: Allow abbreviated options when ..., Johannes Schindelin, (Sun Oct 14, 3:12 pm)
git-svn and submodules, was Re: [PATCH] parse-options: All ..., Johannes Schindelin, (Sun Oct 14, 3:59 pm)
Re: git-svn and submodules, Benoit SIGOURE, (Mon Oct 15, 12:07 am)
Re: git-svn and submodules, Andreas Ericsson, (Mon Oct 15, 3:00 am)
Re: git-svn and submodules, Benoit SIGOURE, (Mon Oct 15, 3:51 am)
Re: git-svn and submodules, Karl , (Mon Oct 15, 7:45 am)
.gitignore and svn:ignore [WAS: git-svn and submodules], Chris Shoemaker, (Mon Oct 15, 8:14 am)
Re: git-svn and submodules, Linus Torvalds, (Mon Oct 15, 8:53 am)
Re: Performance issue with excludes (was: Re: git-svn and ..., Linus Torvalds, (Mon Oct 15, 9:34 am)
Re: .gitignore and svn:ignore [WAS: git-svn and submodules], Chris Shoemaker, (Tue Oct 16, 6:05 am)