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

Re: [PATCH 2/2] tmp-objdir: disable ref updates when replacing the primary odb

From
NSNeeraj Singh <nksingh85@gmail.com>
Date
Dec 5, 2021, 23:44 UTC
Message-ID
<20211205234408.GA26229@neerajsi-x1.localdomain>
In-Reply-To
<xmqqtufmlxmb.fsf@gitster.g>
On Sun, Dec 05, 2021 at 10:23:08AM -0800, Junio C Hamano wrote:
Show 12 quoted lines
> "Neeraj Singh via GitGitGadget" <gitgitgadget@gmail.com> writes:
> 
> >  	/*
> >  	 * This object store is ephemeral, so there is no need to fsync.
> >  	 */
> > -	int will_destroy;
> > +	unsigned int will_destroy : 1;
> 
> <CANQDOddCC7+gGUy1VBxxwvN7ieP+N8mQhbxK2xx6ySqZc6U7-g@mail.gmail.com>
> ?
> 
> (https://github.com/git/git/pull/1076#discussion_r750645345)

Thanks for noticing this! I also lost one other change while splitting this out: we are referencing the_repository from the refs code, but as of 34224e14d we should be picking it up from the ref_store. I'll submit an updated series as soon as it passes CI.

Thanks, Neeraj

Previous: Junio C HamanoNext: Junio C Hamano
Message 5 of 18 in “ns/tmp-objdir: add support for temporary writable databases”
  1. 0/2 ns/tmp-objdir: add support for temporary writable databasesNeeraj K. Singh via GitGitGadget, Dec 4, 2021
  2. 1/2 tmp-objdir: new API for creating temporary writable databasesNeeraj Singh via GitGitGadget, Dec 4, 2021
  3. 2/2 tmp-objdir: disable ref updates when replacing the primary odbNeeraj Singh via GitGitGadget, Dec 4, 2021
  4. Junio C HamanoDec 5, 2021
  5. Neeraj SinghDec 5, 2021
  6. Junio C HamanoDec 5, 2021
  7. Neeraj SinghDec 6, 2021
  8. 0/2 ns/tmp-objdir: add support for temporary writable databasesNeeraj K. Singh via GitGitGadget, Dec 6, 2021
  9. 1/2 tmp-objdir: new API for creating temporary writable databasesNeeraj Singh via GitGitGadget, Dec 6, 2021
  10. Junio C HamanoDec 6, 2021
  11. Neeraj SinghDec 6, 2021
  12. Junio C HamanoDec 6, 2021
  13. 2/2 tmp-objdir: disable ref updates when replacing the primary odbNeeraj Singh via GitGitGadget, Dec 6, 2021
  14. Neeraj SinghDec 6, 2021
  15. 0/2 ns/tmp-objdir: add support for temporary writable databasesNeeraj K. Singh via GitGitGadget, Dec 6, 2021
  16. 1/2 tmp-objdir: new API for creating temporary writable databasesNeeraj Singh via GitGitGadget, Dec 6, 2021
  17. 2/2 tmp-objdir: disable ref updates when replacing the primary odbNeeraj Singh via GitGitGadget, Dec 6, 2021
  18. Elijah NewrenDec 8, 2021

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.