Merge branch 'jn/block-sha1'
authorJunio C Hamano <gitster@pobox.com>
Tue, 24 Jul 2012 03:56:46 +0000 (20:56 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 24 Jul 2012 03:56:47 +0000 (20:56 -0700)
commitebcfa444c436c0a501d38ffd5bae670fe6ee01c5
tree37d88b18fa545fb74c0e78f1858dda5c12e3e92b
parentfee4426cdf5234ffb0b5572618ca2a6d4ae2595d
parentf200197c39d9181c02cac06c26433edaa9d31219
Merge branch 'jn/block-sha1'

The code to load a word one-byte-at-a-time was optimized into a
word-wide load instruction even when the pointer was not aligned,
which caused issues on architectures that do not like unaligned
access.

* jn/block-sha1:
  Makefile: BLK_SHA1 does not require fast htonl() and unaligned loads
  block-sha1: put expanded macro parameters in parentheses
  block-sha1: avoid pointer conversion that violates alignment constraints
Makefile
block-sha1/sha1.c