From: Junio C Hamano Date: Sun, 18 Nov 2018 09:23:52 +0000 (+0900) Subject: Merge branch 'nd/pthreads' X-Git-Tag: v2.20.0-rc0~26 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/26b80a841ad6f2ddff855aa9bd0000a4ba81f6ff Merge branch 'nd/pthreads' The codebase has been cleaned up to reduce "#ifndef NO_PTHREADS". * nd/pthreads: Clean up pthread_create() error handling read-cache.c: initialize copy_len to shut up gcc 8 read-cache.c: reduce branching based on HAVE_THREADS read-cache.c: remove #ifdef NO_PTHREADS pack-objects: remove #ifdef NO_PTHREADS preload-index.c: remove #ifdef NO_PTHREADS grep: clean up num_threads handling grep: remove #ifdef NO_PTHREADS attr.c: remove #ifdef NO_PTHREADS name-hash.c: remove #ifdef NO_PTHREADS index-pack: remove #ifdef NO_PTHREADS send-pack.c: move async's #ifdef NO_PTHREADS back to run-command.c run-command.h: include thread-utils.h instead of pthread.h thread-utils: macros to unconditionally compile pthreads API --- 26b80a841ad6f2ddff855aa9bd0000a4ba81f6ff