aboutsummaryrefslogtreecommitdiffstats
path: root/notes.c
diff options
context:
space:
mode:
authorBrian Gesiak <modocache@gmail.com>2014-05-27 00:33:45 +0900
committerJunio C Hamano <gitster@pobox.com>2014-05-27 14:00:43 -0700
commitc4a7b0092bbe39a6b05ddd65a6b3e45565203367 (patch)
treee5a1d5c16930ccc0bddd8ba73b14589971f44de6 /notes.c
parentbuiltin/remote.c: rearrange xcalloc arguments (diff)
downloadgit-c4a7b0092bbe39a6b05ddd65a6b3e45565203367.tar.gz
git-c4a7b0092bbe39a6b05ddd65a6b3e45565203367.zip
commit.c: rearrange xcalloc arguments
xcalloc() takes two arguments: the number of elements and their size. reduce_heads() passes the arguments in reverse order, passing the size of a commit*, followed by the number of commit* to be allocated. Rearrange them so they are in the correct order. Signed-off-by: Brian Gesiak <modocache@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'notes.c')
0 files changed, 0 insertions, 0 deletions