GitHub PushEvent at 2014-07-21 22:47:28
Repository: git
Actor: gitster
Payload: {"shas":[["51a60f5bfbaf1ee7c7a2d2b73eca4f042f7af8cb","2da278a99b557fc93ddbed7517a413ad793e2e6a@web.de","use xcalloc() to allocate zero-initialized memory\n\nUse xcalloc() instead of xmalloc() followed by memset() to allocate\nand zero out memory because it's shorter and avoids duplicating the\nfunction parameters.\n\nSigned-off-by: Rene Scharfe <l.s.r@web.de>\nSigned-off-by: Junio C Hamano <gitster@pobox.com>","René Scharfe",false],["5c0b13f85ab3a5326508b854768eb70c8829cda4","2da278a99b557fc93ddbed7517a413ad793e2e6a@web.de","use xmemdupz() to allocate copies of strings given by start and length\n\nUse xmemdupz() to allocate the memory, copy the data and make sure to\nNUL-terminate the result, all in one step.  The resulting code is\nshorter, doesn't contain the constants 1 and '\\0', and avoids\nduplicating function parameters.\n\nFor blame, the last copied byte (o->file.ptr[o->file.size]) is always\nset to NUL by fake_working_tree_commit() or read_sha1_file(), so no\ninformation is lost by the conversion to using xmemdupz().\n\nSigned-off-by: Rene Scharfe <l.s.r@web.de>\nSigned-off-by: Junio C Hamano <gitster@pobox.com>","René Scharfe",false]],"size":2,"ref":"refs/heads/maint","head":"5c0b13f85ab3a5326508b854768eb70c8829cda4"}