From: Dmitry Ivankov Date: Mon, 22 Aug 2011 12:10:18 +0000 (+0600) Subject: fast-import: add tests for tagging blobs X-Git-Tag: v1.7.7-rc1~41^2~1 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/2efe38e7da40fdf2b6e0261984d7adaab16ad930?hp=2efe38e7da40fdf2b6e0261984d7adaab16ad930 fast-import: add tests for tagging blobs fast-import allows to create an annotated tag that annotates a blob, via mark or direct sha1 specification. For mark it works, for sha1 it tries to read the object. It tries to do so via read_sha1_file, and then checks the size to be at least 46. That's weird, let's just allow to (annotated) tag any object referenced by sha1. If the object originates from our packfile, we still fail though. Signed-off-by: Dmitry Ivankov Signed-off-by: Junio C Hamano ---