git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Previous: Matthieu Moy
Message 3 of 3 in “git and binary files”
  1. Jan DittmerJul 28, 2010
  2. Matthieu MoyJul 28, 2010
  3. Avery PennarunJul 28, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.