Makefile: BLK_SHA1 does not require fast htonl() and unaligned loads

block-sha1/ is fast on most known platforms.  Clarify the Makefile to
be less misleading about that.

Early versions of block-sha1/ explicitly relied on fast htonl() and
fast 32-bit loads with arbitrary alignment.  Now it uses those on some
arches but the default behavior is byte-at-a-time access for the sake
of arches like ARM, Alpha, and their kin and it is still pretty fast
on these arches (fast enough to supersede the mozilla SHA1
implementation and the hand-written ARM assembler implementation that
were bundled before).

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 file changed
tree: 8e8e33bcafa340e4b91250bd9ec57f6260e6b2d0
  1. block-sha1/
  2. compat/
  3. contrib/
  4. Documentation/
  5. git-gui/
  6. gitk-git/
  7. gitweb/
  8. perl/
  9. ppc/
  10. t/
  11. templates/
  12. xdiff/
  13. .gitattributes
  14. .gitignore
  15. .mailmap
  16. abspath.c
  17. alias.c
  18. alloc.c
  19. archive-tar.c
  20. archive-zip.c
  21. archive.c
  22. archive.h
  23. attr.c
  24. attr.h
  25. base85.c
  26. bisect.c
  27. bisect.h
  28. blob.c
  29. blob.h
  30. branch.c
  31. branch.h
  32. builtin-add.c
  33. builtin-annotate.c
  34. builtin-apply.c
  35. builtin-archive.c
  36. builtin-bisect--helper.c
  37. builtin-blame.c
  38. builtin-branch.c
  39. builtin-bundle.c
  40. builtin-cat-file.c
  41. builtin-check-attr.c
  42. builtin-check-ref-format.c
  43. builtin-checkout-index.c
  44. builtin-checkout.c
  45. builtin-clean.c
  46. builtin-clone.c
  47. builtin-commit-tree.c
  48. builtin-commit.c
  49. builtin-config.c
  50. builtin-count-objects.c
  51. builtin-describe.c
  52. builtin-diff-files.c
  53. builtin-diff-index.c
  54. builtin-diff-tree.c
  55. builtin-diff.c
  56. builtin-fast-export.c
  57. builtin-fetch--tool.c
  58. builtin-fetch-pack.c
  59. builtin-fetch.c
  60. builtin-fmt-merge-msg.c
  61. builtin-for-each-ref.c
  62. builtin-fsck.c
  63. builtin-gc.c
  64. builtin-grep.c
  65. builtin-help.c
  66. builtin-http-fetch.c
  67. builtin-init-db.c
  68. builtin-log.c
  69. builtin-ls-files.c
  70. builtin-ls-remote.c
  71. builtin-ls-tree.c
  72. builtin-mailinfo.c
  73. builtin-mailsplit.c
  74. builtin-merge-base.c
  75. builtin-merge-file.c
  76. builtin-merge-ours.c
  77. builtin-merge-recursive.c
  78. builtin-merge.c
  79. builtin-mktree.c
  80. builtin-mv.c
  81. builtin-name-rev.c
  82. builtin-pack-objects.c
  83. builtin-pack-refs.c
  84. builtin-prune-packed.c
  85. builtin-prune.c
  86. builtin-push.c
  87. builtin-read-tree.c
  88. builtin-receive-pack.c
  89. builtin-reflog.c
  90. builtin-remote.c
  91. builtin-rerere.c
  92. builtin-reset.c
  93. builtin-rev-list.c
  94. builtin-rev-parse.c
  95. builtin-revert.c
  96. builtin-rm.c
  97. builtin-send-pack.c
  98. builtin-shortlog.c
  99. builtin-show-branch.c
  100. builtin-show-ref.c
  101. builtin-stripspace.c
  102. builtin-symbolic-ref.c
  103. builtin-tag.c
  104. builtin-tar-tree.c
  105. builtin-unpack-objects.c
  106. builtin-update-index.c
  107. builtin-update-ref.c
  108. builtin-upload-archive.c
  109. builtin-verify-pack.c
  110. builtin-verify-tag.c
  111. builtin-write-tree.c
  112. builtin.h
  113. bundle.c
  114. bundle.h
  115. cache-tree.c
  116. cache-tree.h
  117. cache.h
  118. check-builtins.sh
  119. check-racy.c
  120. check_bindir
  121. color.c
  122. color.h
  123. combine-diff.c
  124. command-list.txt
  125. commit.c
  126. commit.h
  127. config.c
  128. config.mak.in
  129. configure.ac
  130. connect.c
  131. convert.c
  132. copy.c
  133. COPYING
  134. csum-file.c
  135. csum-file.h
  136. ctype.c
  137. daemon.c
  138. date.c
  139. decorate.c
  140. decorate.h
  141. delta.h
  142. diff-delta.c
  143. diff-lib.c
  144. diff-no-index.c
  145. diff.c
  146. diff.h
  147. diffcore-break.c
  148. diffcore-delta.c
  149. diffcore-order.c
  150. diffcore-pickaxe.c
  151. diffcore-rename.c
  152. diffcore.h
  153. dir.c
  154. dir.h
  155. editor.c
  156. entry.c
  157. environment.c
  158. exec_cmd.c
  159. exec_cmd.h
  160. fast-import.c
  161. fetch-pack.h
  162. fixup-builtins
  163. fsck.c
  164. fsck.h
  165. generate-cmdlist.sh
  166. git-add--interactive.perl
  167. git-am.sh
  168. git-archimport.perl
  169. git-bisect.sh
  170. git-compat-util.h
  171. git-cvsexportcommit.perl
  172. git-cvsimport.perl
  173. git-cvsserver.perl
  174. git-difftool--helper.sh
  175. git-difftool.perl
  176. git-filter-branch.sh
  177. git-instaweb.sh
  178. git-lost-found.sh
  179. git-merge-octopus.sh
  180. git-merge-one-file.sh
  181. git-merge-resolve.sh
  182. git-mergetool--lib.sh
  183. git-mergetool.sh
  184. git-parse-remote.sh
  185. git-pull.sh
  186. git-quiltimport.sh
  187. git-rebase--interactive.sh
  188. git-rebase.sh
  189. git-relink.perl
  190. git-repack.sh
  191. git-request-pull.sh
  192. git-send-email.perl
  193. git-sh-setup.sh
  194. git-stash.sh
  195. git-submodule.sh
  196. git-svn.perl
  197. GIT-VERSION-GEN
  198. git-web--browse.sh
  199. git.c
  200. git.spec.in
  201. graph.c
  202. graph.h
  203. grep.c
  204. grep.h
  205. hash-object.c
  206. hash.c
  207. hash.h
  208. help.c
  209. help.h
  210. http-push.c
  211. http-walker.c
  212. http.c
  213. http.h
  214. ident.c
  215. imap-send.c
  216. index-pack.c
  217. INSTALL
  218. levenshtein.c
  219. levenshtein.h
  220. list-objects.c
  221. list-objects.h
  222. ll-merge.c
  223. ll-merge.h
  224. lockfile.c
  225. log-tree.c
  226. log-tree.h
  227. mailmap.c
  228. mailmap.h
  229. Makefile
  230. match-trees.c
  231. merge-file.c
  232. merge-index.c
  233. merge-recursive.c
  234. merge-recursive.h
  235. merge-tree.c
  236. mktag.c
  237. name-hash.c
  238. object.c
  239. object.h
  240. pack-check.c
  241. pack-redundant.c
  242. pack-refs.c
  243. pack-refs.h
  244. pack-revindex.c
  245. pack-revindex.h
  246. pack-write.c
  247. pack.h
  248. pager.c
  249. parse-options.c
  250. parse-options.h
  251. patch-delta.c
  252. patch-id.c
  253. patch-ids.c
  254. patch-ids.h
  255. path.c
  256. pkt-line.c
  257. pkt-line.h
  258. preload-index.c
  259. pretty.c
  260. progress.c
  261. progress.h
  262. quote.c
  263. quote.h
  264. reachable.c
  265. reachable.h
  266. read-cache.c
  267. README
  268. reflog-walk.c
  269. reflog-walk.h
  270. refs.c
  271. refs.h
  272. remote.c
  273. remote.h
  274. rerere.c
  275. rerere.h
  276. revision.c
  277. revision.h
  278. run-command.c
  279. run-command.h
  280. send-pack.h
  281. server-info.c
  282. setup.c
  283. sha1-lookup.c
  284. sha1-lookup.h
  285. sha1_file.c
  286. sha1_name.c
  287. shallow.c
  288. shell.c
  289. shortlog.h
  290. show-index.c
  291. sideband.c
  292. sideband.h
  293. sigchain.c
  294. sigchain.h
  295. strbuf.c
  296. strbuf.h
  297. string-list.c
  298. string-list.h
  299. symlinks.c
  300. tag.c
  301. tag.h
  302. tar.h
  303. test-chmtime.c
  304. test-ctype.c
  305. test-date.c
  306. test-delta.c
  307. test-dump-cache-tree.c
  308. test-genrandom.c
  309. test-match-trees.c
  310. test-parse-options.c
  311. test-path-utils.c
  312. test-sha1.c
  313. test-sha1.sh
  314. test-sigchain.c
  315. thread-utils.c
  316. thread-utils.h
  317. trace.c
  318. transport.c
  319. transport.h
  320. tree-diff.c
  321. tree-walk.c
  322. tree-walk.h
  323. tree.c
  324. tree.h
  325. unimplemented.sh
  326. unpack-file.c
  327. unpack-trees.c
  328. unpack-trees.h
  329. update-server-info.c
  330. upload-pack.c
  331. usage.c
  332. userdiff.c
  333. userdiff.h
  334. utf8.c
  335. utf8.h
  336. var.c
  337. walker.c
  338. walker.h
  339. wrapper.c
  340. write_or_die.c
  341. ws.c
  342. wt-status.c
  343. wt-status.h
  344. xdiff-interface.c
  345. xdiff-interface.h