Fix refs reloading by not assuming that they are alphabetically sorted
commit7ce27a4cf2e17a7b4ae21af7552c455c32bf3f82
authorJonas Fonseca <fonseca@diku.dk>
Mon, 23 Apr 2012 12:26:40 +0000 (23 08:26 -0400)
committerJonas Fonseca <fonseca@diku.dk>
Mon, 23 Apr 2012 12:26:40 +0000 (23 08:26 -0400)
tree2126a42f81dc1bd7f7fdaec82bed4f0a3b1eb9dc
parent17dfd4d819aedd186d21c501a96fd58a5616a31f
Fix refs reloading by not assuming that they are alphabetically sorted

The references are sorted for display and thus the binary search used
for finding existing references caused every reference to be duplicated.
tig.c