summaryrefslogtreecommitdiff
path: root/t/t5411/test-0023-report-unexpect-ref--porcelain.sh
diff options
context:
space:
mode:
authorLibravatar Johannes Schindelin <johannes.schindelin@gmx.de>2020-11-18 23:35:44 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-11-19 11:51:01 -0800
commit26d0a6d47ab946f49e2aee40ae16f53915c397f4 (patch)
treeaf889d65ed9befbb2daafddf95d0dff67c452c88 /t/t5411/test-0023-report-unexpect-ref--porcelain.sh
parentGit 2.29.2 (diff)
downloadtgif-26d0a6d47ab946f49e2aee40ae16f53915c397f4.tar.xz
t4015: let the test pass with any default branch name
We do not need to hard-code the actual branch name, as we can use the `test_commit` function to simplify the code and use the tag it generates, thereby being a lot more precise in what we want. Strangely enough, this test case would have succeeded even with an overridden default branch name, obviously for the wrong reason. Let's verify that it passes for the expected reason, by looking for a tell-tale in Git's output. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5411/test-0023-report-unexpect-ref--porcelain.sh')
0 files changed, 0 insertions, 0 deletions