diff options
author | Michael Haggerty <mhagger@alum.mit.edu> | 2017-05-22 16:17:47 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-05-23 14:29:55 +0900 |
commit | 8556f8d61330ec677dc48b0ef39e2017d6927708 (patch) | |
tree | 76b96a436fdfb04475ea7f2bbada2dc468fa4dee /merge.c | |
parent | ref_update_reject_duplicates(): use `size_t` rather than `int` (diff) | |
download | tgif-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