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

Re: [PATCH] index-pack: remove fetch_if_missing=0

From
Junio C Hamano <gitster@pobox.com>
Date
Mar 11, 2023, 20:37 UTC
Message-ID
<xmqqttyrxbw1.fsf@gitster.g>
In-Reply-To
<m0mt4j5a2n.fsf@epic96565.epic.com>
Sean Allred <allred.sean@gmail.com> writes:
Show 6 quoted lines
> Kousik Sanagavarapu <five231003@gmail.com> writes:
>
>> Hence, use has_object() to check for the existence of an object, which
>> has the default behavior of not lazy-fetching in a partial clone.
>
> Any chance this fixes behavior[1] I was seeing ...

If I understand correctly, Kousik's change is meant to be a clean-up that does not change any behaviour, so if it changes some behaviour for you, it means the patch is buggy.

But I think you can build a version of Git without the patch (earlier this week would have been a good time to do so to test the release candidate #2 for the upcoming 2.40) to see if you have the behaviour still, and then apply this patch to see if it fixes it, and then report your findings here. It would make a great contribution to the community.

Thanks.
Previous: Sean Allred
Message 20 of 20 in “index-pack: remove fetch_if_missing=0”
  1. index-pack: remove fetch_if_missing=0Kousik Sanagavarapu, Feb 25, 2023
  2. Kousik SanagavarapuFeb 27, 2023
  3. Jonathan TanFeb 27, 2023
  4. Kousik SanagavarapuFeb 28, 2023
  5. index-pack: remove fetch_if_missing=0Kousik Sanagavarapu, Mar 10, 2023
  6. Junio C HamanoMar 10, 2023
  7. Jonathan TanMar 10, 2023
  8. Junio C HamanoMar 10, 2023
  9. Jonathan TanMar 11, 2023
  10. Kousik SanagavarapuMar 12, 2023
  11. Kousik SanagavarapuMar 11, 2023
  12. Kousik SanagavarapuMar 11, 2023
  13. index-pack: remove fetch_if_missing=0Kousik Sanagavarapu, Mar 13, 2023
  14. Junio C HamanoMar 13, 2023
  15. Junio C HamanoMar 13, 2023
  16. index-pack: remove fetch_if_missing=0Kousik Sanagavarapu, Mar 17, 2023
  17. Junio C HamanoMar 17, 2023
  18. Kousik SanagavarapuMar 19, 2023
  19. Sean AllredMar 11, 2023
  20. Junio C HamanoMar 11, 2023

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.