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, 12:03 UTC
Message-ID
<CAABECY2_A83tWaqb_6YzXwr0Tv5AYVq0KW70j+EHqrx69k2P_A@mail.gmail.com>
In-Reply-To
<CACsJy8DdjDnacVGU83iUDj5Na1xxS6kNDbK2D0Apfv0LAuzDvA@mail.gmail.com>
Are there any commands that I can use to show exactly what it is trying to push?

I'll see if I can create a (public) repo that has the same problem. Thanks for your help.

Show 17 quoted lines
> This 10804 looks wrong (i.e. sending that many compressed objects).
> Also "80 MiB" sent at that point. If you modify just a couple files,
> something is really wrong because the number of new objects may be
> hundreds at most, not thousands.
>
> v2.2.2 supports "git fast-export --anonymize" [1] to create an
> anonymized "clone" of your repo that you can share, which might help
> us understand the problem.
>
> There's also the environment variable GIT_TRACE_PACKET that can help
> see what's going on at the protocol level, but I think you're on your
> own because without access to this repo, SHA-1s from that trace may
> not make much sense.
>
> [1] https://github.com/git/git/commit/a8722750985a53cc502a66ae3d68a9e42c7fdb98
> --
> Duy
Previous: Duy NguyenNext: Duy Nguyen
Message 5 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.