summaryrefslogtreecommitdiff
path: root/t/t4013/diff.diff-tree_-r_--abbrev_initial
diff options
context:
space:
mode:
authorLibravatar René Scharfe <l.s.r@web.de>2018-03-24 17:41:08 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-03-25 09:18:15 -0700
commit902f5a2119089472c905407cb0a9b3886d032ebd (patch)
tree367740a5259e9ffe5bfd32f2eaea06f31688a6d1 /t/t4013/diff.diff-tree_-r_--abbrev_initial
parentsha1_name: use bsearch_pack() for abbreviations (diff)
downloadtgif-902f5a2119089472c905407cb0a9b3886d032ebd.tar.xz
sha1_name: use bsearch_pack() in unique_in_pack()
Replace the custom binary search in unique_in_pack() with a call to bsearch_pack(). This reduces code duplication and makes use of the fan-out table of packs. Signed-off-by: Rene Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.diff-tree_-r_--abbrev_initial')
0 files changed, 0 insertions, 0 deletions