summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2020-09-24 19:22:29 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-09-24 19:30:11 (GMT)
commit176380fd113a97b09c99a5f7273725527823fa1b (patch)
tree0a004dc5a516372b75a3fca87b160b974a82990a /Makefile
parentc578e29ba0791041ad7fabf1166dd6f7e7f26d1f (diff)
downloadgit-176380fd113a97b09c99a5f7273725527823fa1b.zip
git-176380fd113a97b09c99a5f7273725527823fa1b.tar.gz
git-176380fd113a97b09c99a5f7273725527823fa1b.tar.bz2
Revert "fast-export: use local array to store anonymized oid"
This reverts commit f39ad38410da554af54966bf74fa0402355852ac. That commit was trying to silence a type-punning warning on older versions of gcc. However, its analysis was all wrong. I didn't notice that we _were_ in fact type-punning because there are two versions of put_be32(): one that uses casts and unaligned loads, and another that uses bitshifts. I looked at the latter, but on my platform we were defaulting to the former. However, as of the previous commit, we'll always use the bitshift version. So we can drop this hackery to avoid the warning, making the code slightly cleaner. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions