Subject: Re: [PATCH 1/2] compat: move unaligned helpers to bswap.h

From: Jonathan Nieder <[email-masked]>
Date: Thu, 23 Jan 2014 11:41:18 -0800

Jeff King wrote:

> Commit d60c49c (read-cache.c: allow unaligned mapping of the
> index file, 2012-04-03) introduced helpers to access
> unaligned data. Let's factor them out to make them more
> widely available.
>
> While we're at it, we'll give the helpers more readable
> names, add a helper for the "ntohll" form, and add the
> appropriate Makefile knob.

Weird.  Why wasn't git broken on the relevant platforms before (given
that no one has been setting NEEDS_ALIGNED_ACCESS for them)?

Puzzled,
Jonathan