]> git.ipfire.org Git - thirdparty/git.git/commit - revision.c
revision: drop some unused "revs" parameters
authorJeff King <peff@peff.net>
Wed, 20 Mar 2019 08:13:36 +0000 (04:13 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 20 Mar 2019 09:34:08 +0000 (18:34 +0900)
commit9163399535c43b6764376a280c2551600e8cd5bc
tree5180ffde5cbfbe32609e548782b9fd53ecf6bd20
parent041f5ea1cf987a4068ef5f39ba0a09be85952064
revision: drop some unused "revs" parameters

There are several internal helpers that take a rev_info struct but don't
actually look at it. While one could argue that all helpers in
revision.c should take a rev_info struct for consistency, dropping the
unused parameter makes it clear that they don't actually depend on any
other rev options.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
revision.c