summaryrefslogtreecommitdiff
path: root/replace_object.c
diff options
context:
space:
mode:
authorLibravatar Christian Couder <chriscool@tuxfamily.org>2009-01-23 10:07:26 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-05-31 17:02:59 -0700
commitcc400f50112a58471b992a54b1a05d99a8a82457 (patch)
treed6f0e37bf8d3c05630dee2fe3b68bd0f075322bc /replace_object.c
parentreplace_object: add a test case (diff)
downloadtgif-cc400f50112a58471b992a54b1a05d99a8a82457.tar.xz
mktag: call "check_sha1_signature" with the replacement sha1
Otherwise we get a "sha1 mismatch" error for replaced objects. Note that I am not sure at all that this is a good change. It may be that we should just refuse to tag a replaced object. But in this case we should probably give a meaningfull error message instead of "sha1 mismatch". Signed-off-by: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'replace_object.c')
0 files changed, 0 insertions, 0 deletions