Re: [PATCH v3 1/3] patch-id: make it stable against hunk reordering
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Mar 31, 2014, 22:05 UTC
- Message-ID
- <xmqqfvly2fe9.fsf@gitster.dls.corp.google.com>
- In-Reply-To
- <1396202583-2572-1-git-send-email-mst@redhat.com>
"Michael S. Tsirkin" <mst@redhat.com> 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.