New tests and en-passant modifications to mktag.
commit446c6faec69f7ac521b8b9fc2b1874731729032f
authorRamsay Allan Jones <ramsay@ramsay1.demon.co.uk>
Sat, 29 Jul 2006 17:15:47 +0000 (29 18:15 +0100)
committerJunio C Hamano <junkio@cox.net>
Wed, 2 Aug 2006 07:27:18 +0000 (2 00:27 -0700)
tree4e5e36389bae2dab69df8e713d9e731a72e1a934
parent7ffe7098dca297016f87a7e10554e6736f7c3ae2
New tests and en-passant modifications to mktag.

These changes were originally part of the next patch, but have been
split out since they were peripheral to the main purpose of that patch.

  - update comment describing the signature format to reflect
    the current code.
  - remove trailing \n in calls to error(), since a \n is already
    provided by error().
  - remove redundant call to get_sha1_hex().
  - call sha1_to_hex(sha1) to convert to ascii, rather than attempting
    to print the raw sha1.

The new tests provide a regression suite to support the modifications
to git-mktag in this and the next patch.

Signed-off-by: Ramsay Allan Jones <ramsay@ramsay1.demon.co.uk>
Signed-off-by: Junio C Hamano <junkio@cox.net>
mktag.c
t/t3800-mktag.sh [new file with mode: 0755]