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

Re: git pull transfers useless files

From
Junio C Hamano <gitster@pobox.com>
Date
Sep 24, 2012, 18:59 UTC
Message-ID
<7v3927z1pt.fsf@alter.siamese.dyndns.org>
In-Reply-To
<CAB9Jk9BcusbERNW0ZTsuq6xd7onOuggfTxJnf7D_USNv-uhC1g@mail.gmail.com>
Angelo Borsotti <angelo.borsotti@gmail.com> writes:
Show 5 quoted lines
> When it executes the git pull it spends on my computer some 30 seconds,
> obviously transferring the pdf file, that then it disregards because of the
> merge=binary attribute.
> When a commit contains many binary files, the command spends a lot of
> time needlessly.
That is hardly needless nor useless.

Unless you are saying that having a large pdf file as binary is useless in your history, that is. After such a merge or squash merge, you still need to be able to say "git checkout remote" to check out their version to inspect, and you did not have that version of the blob before that "git pull".

Previous: Angelo BorsottiNext: Jeff King
Message 2 of 3 in “git pull transfers useless files”
  1. Angelo BorsottiSep 24, 2012
  2. Junio C HamanoSep 24, 2012
  3. Jeff KingSep 24, 2012

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.