summaryrefslogtreecommitdiff
path: root/diff.c
diff options
context:
space:
mode:
authorLibravatar Brian Gesiak <modocache@gmail.com>2014-05-27 00:33:55 +0900
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-05-27 14:02:45 -0700
commitda7a478bc055bd5fdbdf1895367c803d528cf579 (patch)
tree9e581441bed4230d630c5e96d7021242fad6f193 /diff.c
parentreflog-walk.c: rearrange xcalloc arguments (diff)
downloadtgif-da7a478bc055bd5fdbdf1895367c803d528cf579.tar.xz
remote.c: rearrange xcalloc arguments
xcalloc() takes two arguments: the number of elements and their size. parse_refspec_internal passes the arguments in reverse order, passing the size of a refspec, followed by the number to allocate. 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 'diff.c')
0 files changed, 0 insertions, 0 deletions