Re: git and binary files
- From
Avery Pennarun <apenwarr@gmail.com>
- Date
- Jul 28, 2010, 20:17 UTC
- Message-ID
- <AANLkTiktAjui6=PECv8jFx7_0Suqv5sY=R9t4q1Jz+Be@mail.gmail.com>
- In-Reply-To
- <vpqwrsf1xz0.fsf@bauges.imag.fr>
On Wed, Jul 28, 2010 at 10:29 AM, Matthieu Moy <Matthieu.Moy@grenoble-inp.fr> wrote:
Show 8 quoted lines
> Jan Dittmer <jdi@l4x.org> writes: >> The problem I'm facing is, that 'git status' is very >> very slow. They seem to read through every file in the directory >> tree. Is it possible to tell git to just use mtime/size information for >> an initial guess? > > This is what it does by default. You probably need an initial "git > status" to be slow to get this information right in the index, though.
Judging from the description, it sounds like 'git status' is the problem, not the solution. Although at 18 GB, it was probably pretty slow to run, so maybe Jan only ran it once and the second time it would have been fast :)
Depending on what the requirements are (ie. just keeping multiple versions for posterity/safety as opposed to actually checking out old versions on a regular basis), bup might be more useful than git in this case: http://github.com/apenwarr/bup .
Have fun,
Avery