From: Junio C Hamano Date: Mon, 31 Mar 2014 22:05:02 GMT Subject: Re: [PATCH v3 1/3] patch-id: make it stable against hunk reordering Message-ID: In-Reply-To: <1396202583-2572-1-git-send-email-mst@redhat.com> "Michael S. Tsirkin" writes: > + memcpy(&ctx, &header_ctx, sizeof ctx); > + } else { > + /* Save header ctx for next hunk. */ > + memcpy(&header_ctx, &ctx, sizeof ctx); I'll fix these to sizeof(ctx) when queuing. Thanks.