{"push_id":1118558646,"size":4,"distinct_size":1,"ref":"refs/heads/jk/diff-encodings-icu-wip","head":"547a008c27acd0649659c34f983150be5a66ac1d","before":"572dee4a515693947dd9bffa31d836636a42e4e1","commits":[{"sha":"f924b52a7779038cee94151f0c1ee144652bccbe","author":{"email":"fd432345609ae4d58c1aa629cb66ba96d1391622@kdbg.org","name":"Johannes Sixt"},"message":"Windows: add pthread_sigmask() that does nothing\n\nA previous change introduced a call to pthread_sigmask() in order to block\nSIGPIPE in a thread. Since there are no signal facilities on Windows that\nare similar to POSIX signals, just ignore the request to block the signal.\nIn the particular case, the effect of blocking SIGPIPE on POSIX is that\nwrite() calls return EPIPE when the reader closes the pipe. This is how\nwrite() behaves on Windows.\n\nSigned-off-by: Johannes Sixt <j6t@kdbg.org>\nSigned-off-by: Junio C Hamano <gitster@pobox.com>","distinct":false,"url":"https://api.github.com/repos/peff/git/commits/f924b52a7779038cee94151f0c1ee144652bccbe"},{"sha":"ed84387a6bfe271e9c1edd277bb6fad54c6a6f0b","author":{"email":"53fb8db7833fca1e1746dd8592f61048d350f64c@gmx.de","name":"Johannes Schindelin"},"message":"Windows: only add a no-op pthread_sigmask() when needed\n\nIn f924b52 (Windows: add pthread_sigmask() that does nothing,\n2016-05-01), we introduced a no-op for Windows. However, this breaks\nbuilding Git in Git for Windows' SDK because pthread_sigmask() is\nalready a no-op there, #define'd in the pthread_signal.h header in\n/mingw64/x86_64-w64-mingw32/include/.\n\nLet's wrap the definition of pthread_sigmask() in a guard that skips\nit when compiling with MinGW-w64' headers.\n\nSigned-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>\nSigned-off-by: Junio C Hamano <gitster@pobox.com>","distinct":false,"url":"https://api.github.com/repos/peff/git/commits/ed84387a6bfe271e9c1edd277bb6fad54c6a6f0b"},{"sha":"b153d2ae9206f752dd383c7bc30a5ab246ee5bcc","author":{"email":"a6723cc3f76163bf7adb636a73ac3b0ceb3e6b9b@pobox.com","name":"Junio C Hamano"},"message":"Merge branch 'jk/push-client-deadlock-fix'\n\nSome Windows SDK lacks pthread_sigmask() implementation and fails\nto compile the recently updated \"git push\" codepath that uses it.\n\n* jk/push-client-deadlock-fix:\n  Windows: only add a no-op pthread_sigmask() when needed\n  Windows: add pthread_sigmask() that does nothing","distinct":false,"url":"https://api.github.com/repos/peff/git/commits/b153d2ae9206f752dd383c7bc30a5ab246ee5bcc"},{"sha":"547a008c27acd0649659c34f983150be5a66ac1d","author":{"email":"696e3fbcf235d40b6ea1ebd61c87cbea79d444e7@peff.net","name":"Jeff King"},"message":"diff: normalize text encodings on the fly\n\nThis is a proof of concept for normalizing text encodings\nbefore comparing files. The resulting diff can't be applied,\nof course, which puts it in roughly the same boat as\ntextconv (and we rely on the textconv infrastructure here to\ndo it).\n\nYou can't use a regular textconv to do this, because we want\nto detect whether to use it based on the file's _content_,\nwhereas textconv is a gitattribute triggered by the\n_pathname_.\n\nThis builds on libicu for the detection, so you need to turn\nthe HAVE_LIBICU knob in the Makefile. Unfortunately, libicu\nis quite slow:\n\n  $ time git log -p -1000 >/dev/null\n  real    0m0.443s\n  user    0m0.408s\n  sys     0m0.032s\n\n  $ time git -c diff.converttext log -p -1000 >/dev/null\n  real    0m8.738s\n  user    0m8.692s\n  sys     0m0.056s","distinct":true,"url":"https://api.github.com/repos/peff/git/commits/547a008c27acd0649659c34f983150be5a66ac1d"}]}