summaryrefslogtreecommitdiff
path: root/merge.c
diff options
context:
space:
mode:
authorLibravatar Michael Haggerty <mhagger@alum.mit.edu>2017-05-22 16:17:47 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-05-23 14:29:55 +0900
commit8556f8d61330ec677dc48b0ef39e2017d6927708 (patch)
tree76b96a436fdfb04475ea7f2bbada2dc468fa4dee /merge.c
parentref_update_reject_duplicates(): use `size_t` rather than `int` (diff)
downloadtgif-8556f8d61330ec677dc48b0ef39e2017d6927708.tar.xz
ref_update_reject_duplicates(): add a sanity check
It's pretty cheap to make sure that the caller didn't pass us an unsorted list by accident, so do so. Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'merge.c')
0 files changed, 0 insertions, 0 deletions