]> git.ipfire.org Git - thirdparty/git.git/commit - t/test-lib-functions.sh
t/test-lib-functions.sh: allow to specify the tag name to test_commit
authorBrandon Casey <drafnel@gmail.com>
Tue, 12 Feb 2013 10:17:30 +0000 (02:17 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 12 Feb 2013 19:08:54 +0000 (11:08 -0800)
commit4c9941943bebbe23039254cdda576ecd97e1d397
treee20569fb33cde0fcfde41d7ba8cb99f90f9bcfac
parent9b1515220912b4e436145babf0b5887ecbfb0ac4
t/test-lib-functions.sh: allow to specify the tag name to test_commit

The <message> part of test_commit() may not be appropriate for a tag name.
So let's allow test_commit to accept a fourth argument to specify the tag
name.

Signed-off-by: Brandon Casey <bcasey@nvidia.com>
Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/test-lib-functions.sh