summaryrefslogtreecommitdiff
path: root/diff.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2015-08-20 16:57:32 (GMT)
committerJunio C Hamano <gitster@pobox.com>2015-08-20 16:57:38 (GMT)
commit8b54c23437834b36bbb5f6de2f577400385da770 (patch)
tree1be1514c35a099216b33574ba10cc51f845f0acc /diff.c
parent8545932d45c91437ac439b1a2df12cf397f71311 (diff)
downloadgit-8b54c23437834b36bbb5f6de2f577400385da770.zip
git-8b54c23437834b36bbb5f6de2f577400385da770.tar.gz
git-8b54c23437834b36bbb5f6de2f577400385da770.tar.bz2
ps_matched: xcalloc() takes nmemb and then element size
Even though multiplication is commutative, the order of arguments should be xcalloc(nmemb, size). ps_matched is an array of 1-byte element whose size is the same as the number of pathspec elements. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diff.c')
0 files changed, 0 insertions, 0 deletions