]> git.ipfire.org Git - thirdparty/git.git/commit - builtin/rev-list.c
rev-list: remove last static vars used in "show_commit"
authorChristian Couder <chriscool@tuxfamily.org>
Mon, 6 Apr 2009 20:28:00 +0000 (22:28 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 8 Apr 2009 05:12:41 +0000 (22:12 -0700)
commitd797257eb280b67dd1f7153a66b03453c0fb927a
treeebb76167611556b8f96f2363440a6793907d9bb2
parent11c211fa06fc396e8ee8132ef83e2f2763ff6976
rev-list: remove last static vars used in "show_commit"

This patch removes the last static variables that were used in
the "show_commit" function.

To do that, we create a new "rev_list_info" struct that we will pass
in the "void *data" argument to "show_commit".

This means that we have to change the first argument to
"show_bisect_vars" too.

While at it, we also remove a "struct commit_list *list" variable
in "cmd_rev_list" that is not really needed.

Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
bisect.c
bisect.h
builtin-rev-list.c