name-rev: fix off-by-one error in --stdin.
authorJunio C Hamano <junkio@cox.net>
Sat, 26 Nov 2005 07:36:58 +0000 (23:36 -0800)
committerJunio C Hamano <junkio@cox.net>
Sat, 26 Nov 2005 07:36:58 +0000 (23:36 -0800)
commit2d76d0d151239538c43b61572283405b10df43ac
tree9ccf8849fa9b522a344645c2f28f12ab036e30d5
parentf359ae42ac102ef98d5708f1dc8b06e6af2701c1
name-rev: fix off-by-one error in --stdin.

It dropped the last hexdigit in the object name.

[jc: Noticed and patch supplied by ALASCM, reworked to apply at
the right place by me]

Signed-off-by: Junio C Hamano <junkio@cox.net>
name-rev.c