ref-filter: fix outdated comment on in_commit_list
commit8fb572af5f4e3bef2415ac2dba8d76d37235b489
authorDerrick Stolee <dstolee@microsoft.com>
Wed, 25 Apr 2018 14:37:54 +0000 (25 14:37 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 2 May 2018 04:39:53 +0000 (2 13:39 +0900)
tree4cf0fc62b77346880b63f9ed6ba826b931e5fd56
parent279ffad17dcc3b72aa7cb5c73fb7aa8eddeed9da
ref-filter: fix outdated comment on in_commit_list

The in_commit_list() method does not check the parents of
the candidate for containment in the list. Fix the comment
that incorrectly states that it does.

Reported-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
ref-filter.c