config: document and test the 'worktree' scope
commitdb7961e6a69f648e8a1359c23830ff59d7341092
authorGlen Choo <chooglen@google.com>
Tue, 7 Jun 2022 21:24:04 +0000 (7 21:24 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 8 Jun 2022 01:14:25 +0000 (7 18:14 -0700)
treeeaf6bc1ff31979ffab9ef6aefb141009f17eb7c6
parente54793a95afeea1e10de1e5ad7eab914e7416250
config: document and test the 'worktree' scope

Test that "git config --show-scope" shows the "worktree" scope, and add
it to the list of scopes in Documentation/git-config.txt.

"git config --help" does not need to be updated because it already
mentions "worktree".

Signed-off-by: Glen Choo <chooglen@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-config.txt
t/t1300-config.sh