summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2020-02-14 18:22:18 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-02-14 18:46:22 (GMT)
commit792f8119986bd354eb4ea0858dfd45904120c257 (patch)
treee2222f3c9d3445258c3dc238c499925ea4b5fd23 /t
parentd90fe06ea7dd15bdbd555ad2f4bfdd069032b697 (diff)
downloadgit-792f8119986bd354eb4ea0858dfd45904120c257.zip
git-792f8119986bd354eb4ea0858dfd45904120c257.tar.gz
git-792f8119986bd354eb4ea0858dfd45904120c257.tar.bz2
rev-list: factor out bitmap-optimized routines
There are a few operations in rev-list that are optimized for bitmaps. Rather than having the code inline in cmd_rev_list(), let's move them into helpers. This not only makes the flow of the main function simpler, but it lets us replace the complex "can we do the optimization?" conditionals with a series of early returns from the functions. That also makes it easy to add comments explaining those conditions. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't')
0 files changed, 0 insertions, 0 deletions