summaryrefslogtreecommitdiff
path: root/t/t7502-commit-porcelain.sh
diff options
context:
space:
mode:
authorLibravatar Doan Tran Cong Danh <congdanhqx@gmail.com>2019-10-16 12:18:40 +0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-10-18 09:39:07 +0900
commit8af69cf3e214ee9df3f78bd508465b75881b17a8 (patch)
treeba85041963b7c36a2bbcd9ef452b89425f81e60b /t/t7502-commit-porcelain.sh
parentNinth batch (diff)
downloadtgif-8af69cf3e214ee9df3f78bd508465b75881b17a8.tar.xz
t3301: test diagnose messages for too few/many paramters
Commit bbb1b8a35a ("notes: check number of parameters to "git notes copy"", 2010-06-28) added a test for too many or too few of parameters provided to `git notes copy'. However, the test only ensures that the command will fail but it doesn't really check if it fails because of number of parameters. If we accidentally lifted the check inside our code base, the test may still have failed because the provided parameter is not a valid ref. Correct it. Signed-off-by: Doan Tran Cong Danh <congdanhqx@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t7502-commit-porcelain.sh')
0 files changed, 0 insertions, 0 deletions