Junio C Hamano <gitster@xxxxxxxxx> writes: > Sergey Organov <sorganov@xxxxxxxxx> writes: > >> diff --git a/t/t9902-completion.sh b/t/t9902-completion.sh >> index 04ce884ef5ac..4d732d6d4f81 100755 >> --- a/t/t9902-completion.sh >> +++ b/t/t9902-completion.sh >> @@ -2306,6 +2306,7 @@ test_expect_success 'git config - variable name' ' >> test_completion "git config log.d" <<-\EOF >> log.date Z >> log.decorate Z >> + log.diffMerges Z >> EOF >> ' >> >> @@ -2327,6 +2328,7 @@ test_expect_success 'git -c - variable name' ' >> test_completion "git -c log.d" <<-\EOF >> log.date=Z >> log.decorate=Z >> + log.diffMerges=Z >> EOF >> ' >> >> @@ -2348,6 +2350,7 @@ test_expect_success 'git clone --config= - variable name' ' >> test_completion "git clone --config=log.d" <<-\EOF >> log.date=Z >> log.decorate=Z >> + log.diffMerges=Z >> EOF >> ' > > $ sh ./t9902-completion.sh -i -v > > ends like the attached. Is there a prerequisite patch I am missing, > or something? To me these completion tests don't work as expected unless I "make install; make test" resulting Git version rather than simply "make tests". I have been told this by SZEDER Gábor <szeder.dev@xxxxxxxxx> earlier in the discussion of these patch series: <quote> It might be related to a bug in the build process that doesn't update that auto-generated list of supported configuration variables after e.g. 'Documentation/config/log.txt' was modified; see a proposed fix at: https://public-inbox.org/git/20210408212915.3060286-1-szeder.dev@xxxxxxxxx/ </quote> Looks like that's it? For reference, I've checked all the commits in the series with this script: #!/usr/bin/env bash while read -r rev; do git checkout "$rev" make clean > /dev/null 2>&1 commit=$(git log --oneline --abbrev=6 -n1 $rev) echo "Make $commit" if ! make prefix=$HOME/git -j8 all >/dev/null 2>&1; then >&2 echo "Make for commit $rev failed" exit 1 fi echo "Install $commit" if ! make prefix=$HOME/git install>/dev/null 2>&1; then >&2 echo "Install for commit $rev failed" exit 2 fi echo "Test $commit" if ! make test; then >&2 echo "Test for commit $rev failed" exit 3 fi done < <(git rev-list --reverse "$1") -- Sergey Organov