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

2 messages, 2 authors, 2021-12-06 · open the first message on its own page

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

From: Junio C Hamano <hidden>
Date: 2021-12-05 23:56:29

Neeraj Singh [off-list ref] writes:
On Sun, Dec 05, 2021 at 10:23:08AM -0800, Junio C Hamano wrote:
quoted
"Neeraj Singh via GitGitGadget" [off-list ref] writes:
quoted
 	/*
 	 * This object store is ephemeral, so there is no need to fsync.
 	 */
-	int will_destroy;
+	unsigned int will_destroy : 1;
[off-list ref]
?

(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.
No rush.

Reviewers and other project participants would appreciate you more
if you took a deep breath, after seeing a CI success, and gave a
final re-reading of the patches with a critical pair of eyes, before
you send the updated series out.

Thanks.

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

From: Neeraj Singh <hidden>
Date: 2021-12-06 03:10:18

On Sun, Dec 5, 2021 at 3:56 PM Junio C Hamano [off-list ref] wrote:
Neeraj Singh [off-list ref] writes:
quoted
On Sun, Dec 05, 2021 at 10:23:08AM -0800, Junio C Hamano wrote:
quoted
"Neeraj Singh via GitGitGadget" [off-list ref] writes:
quoted
   /*
    * This object store is ephemeral, so there is no need to fsync.
    */
-  int will_destroy;
+  unsigned int will_destroy : 1;
[off-list ref]
?

(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.
No rush.

Reviewers and other project participants would appreciate you more
if you took a deep breath, after seeing a CI success, and gave a
final re-reading of the patches with a critical pair of eyes, before
you send the updated series out.

Thanks.
Fair enough.  Of course I didn't see your email before I resubmitted.
Thanks for the feedback.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help