summaryrefslogtreecommitdiff
path: root/t/t9133-git-svn-nested-git-repo.sh
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2023-10-31 09:16:29 +0100
committerJunio C Hamano <gitster@pobox.com>2023-11-01 12:09:00 +0900
commit7907fb0c97740ce2cb9ce0db706dc66c77bb70a7 (patch)
tree4abdb0e7825d21ba20907b0125887e35aeee9f0c /t/t9133-git-svn-nested-git-repo.sh
parent53921d5f8e63eb98cb306ea0b58f76a07bbaf36b (diff)
builtin/show-ref: refactor `--exclude-existing` options
It's not immediately obvious options which options are applicable to what subcommand in git-show-ref(1) because all options exist as global state. This can easily cause confusion for the reader. Refactor options for the `--exclude-existing` subcommand to be contained in a separate structure. This structure is stored on the stack and passed down as required. Consequently, it clearly delimits the scope of those options and requires the reader to worry less about global state. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9133-git-svn-nested-git-repo.sh')
0 files changed, 0 insertions, 0 deletions