diff options
| author | Patrick Steinhardt <ps@pks.im> | 2023-10-31 09:16:25 +0100 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2023-11-01 12:09:00 +0900 |
| commit | 53921d5f8e63eb98cb306ea0b58f76a07bbaf36b (patch) | |
| tree | 62e12a2935256e09ea75bab6151bcefb592a6d98 /t/t9133-git-svn-nested-git-repo.sh | |
| parent | builtin/show-ref: fix leaking string buffer (diff) | |
| download | git-53921d5f8e63eb98cb306ea0b58f76a07bbaf36b.tar.gz git-53921d5f8e63eb98cb306ea0b58f76a07bbaf36b.zip | |
builtin/show-ref: fix dead code when passing patterns
When passing patterns to `git show-ref` we have some code that will
cause us to die if `verify && !quiet` is true. But because `verify`
indicates a different subcommand of git-show-ref(1) that causes us to
execute `cmd_show_ref__verify()` and not `cmd_show_ref__patterns()`, the
condition cannot ever be true.
Let's remove this dead code.
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
