diff options
author | Nicolas Pitre <nico@cam.org> | 2009-08-18 15:26:55 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-08-18 14:16:37 -0700 |
commit | 51ea55190b6e72c77c96754c1bf2f149a4714848 (patch) | |
tree | a8f4a6fa1f05c0080c926432905e6e66ccbfadeb /builtin-branch.c | |
parent | block-sha1: make the size member first in the context struct (diff) | |
download | tgif-51ea55190b6e72c77c96754c1bf2f149a4714848.tar.xz |
make sure byte swapping is optimal for git
We rely on ntohl() and htonl() to perform byte swapping in many places.
However, some platforms have libraries providing really poor
implementations of those which might cause significant performance
issues, especially with the block-sha1 code.
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-branch.c')
0 files changed, 0 insertions, 0 deletions