]> git.ipfire.org Git - thirdparty/git.git/commit
refs: dereference the value of the required pointer
authorGreg Funni <gfunni234@gmail.com>
Thu, 18 Dec 2025 16:10:49 +0000 (16:10 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 19 Dec 2025 03:55:38 +0000 (12:55 +0900)
commit46d0ee2d6996779bf33acb83e36240443e27c79e
treebde70e6e582945ae287a4ade0696355b56123cae
parent28b83e6f08ae022d54d79e518e72933ae0930091
refs: dereference the value of the required pointer

Currently, this always prints yes because required is non-null.

This is the wrong behavior. The boolean must be
dereferenced.

Signed-off-by: Greg Funni <gfunni234@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
refs/debug.c