]> git.ipfire.org Git - thirdparty/git.git/commit - builtin/rev-list.c
git rev-list: fix invalid typecast
authorClemens Buchacher <drizzd@aon.at>
Mon, 13 Feb 2012 20:17:11 +0000 (21:17 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 13 Feb 2012 20:49:15 +0000 (12:49 -0800)
commitcb8da70547af5cd5c8e03be5a236971951e81277
tree17f6330e734a92f05263cac4818ff862adb19665
parentd0482e88a735787f7bb33ef4783be0e7f6a70946
git rev-list: fix invalid typecast

git rev-list passes rev_list_info, not rev_list objects. Without this
fix, rev-list enables or disables the --verify-objects option depending
on a read from an undefined memory location.

Signed-off-by: Clemens Buchacher <drizzd@aon.at>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/rev-list.c
t/t1450-fsck.sh