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

Re: [PATCH] push: respect --no-thin

From
Jeff King <peff@peff.net>
Date
Aug 10, 2013, 10:31 UTC
Message-ID
<20130810103123.GB6237@sigill.intra.peff.net>
In-Reply-To
<1376129407-30590-1-git-send-email-pclouds@gmail.com>
On Sat, Aug 10, 2013 at 05:10:07PM +0700, Nguyen Thai Ngoc Duy wrote:
Show 5 quoted lines
> Over the time the default value for --thin has been switched between
> on and off. As of now it's always on, even if --no-thin is given.
> Correct the code to respect --no-thin.
> 
> Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>

This makes sense, and I confirmed with the script I posted earlier that it does work (and didn't before). Thanks.

It might be nice to have a test, but I am not sure of a good way to check whether a push was thin. I guess we can grep the output of GIT_TRACE, though it feels a bit hacky.

-Peff
Previous: Nguyễn Thái Ngọc DuyNext: Duy Nguyen
Message 2 of 10 in “push: respect --no-thin”
  1. push: respect --no-thinNguyễn Thái Ngọc Duy, Aug 10, 2013
  2. Jeff KingAug 10, 2013
  3. Duy NguyenAug 10, 2013
  4. push: respect --no-thinNguyễn Thái Ngọc Duy, Aug 11, 2013
  5. Eric SunshineAug 11, 2013
  6. push: respect --no-thinNguyễn Thái Ngọc Duy, Aug 11, 2013
  7. Junio C HamanoAug 12, 2013
  8. Duy NguyenAug 12, 2013
  9. Junio C HamanoAug 13, 2013
  10. push: respect --no-thinNguyễn Thái Ngọc Duy, Aug 12, 2013

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.