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

Re: Seems to be pushing more than necessary

From
Graham Hay <grahamrhay@gmail.com>
Date
Mar 18, 2015, 11:26 UTC
Message-ID
<CAABECY2_MQWAkOu=6rR=mN=wKz-Yfzsu8o2+wb6F+h4FjBe9Mw@mail.gmail.com>
In-Reply-To
<CACsJy8Au48iFoC=Eo4T-fm6r6tA7VffRJyH2JbuC==wa61=G5A@mail.gmail.com>
> It would help if you pasted the push output. For example, does it stop
> at 20% at the "compressing objects" line or "writing objects". How
> many total objects does it say?

It rattles through "compressing objects", and the first 20% of "writing objects", then slows to a crawl.

    Writing objects:  33% (3647/10804), 80.00 MiB | 112.00 KiB/s
Show 7 quoted lines
>
> Another question is how big are these binary files on average? Git
> considers a file is "big" if its size is 512MB or more (see
> core.bigFileThreshold). If your binary files are are mostly under this
> limit, but still big enough, then git may still try to compare new
> objects with these to find the smallest "diff" to send. If it's the
> case, you could set core.bigFileThreshold to cover these binary files.

None of the files are very big (KB rather than MB), but there's a lot of them. I'll try setting the threshold to something lower, thanks.

Previous: Duy NguyenNext: Duy Nguyen
Message 3 of 17 in “Fwd: Seems to be pushing more than necessary”
  1. Graham HayMar 18, 2015
  2. Duy NguyenMar 18, 2015
  3. Graham HayMar 18, 2015
  4. Duy NguyenMar 18, 2015
  5. Graham HayMar 18, 2015
  6. Duy NguyenMar 18, 2015
  7. Duy NguyenMar 18, 2015
  8. Graham HayMar 18, 2015
  9. Duy NguyenMar 18, 2015
  10. Graham HayMar 18, 2015
  11. Duy NguyenMar 19, 2015
  12. Junio C HamanoMar 19, 2015
  13. Graham HayMar 20, 2015
  14. Duy NguyenMar 23, 2015
  15. Graham HayMar 23, 2015
  16. Duy NguyenMar 23, 2015
  17. Graham HayMar 23, 2015

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.