aboutsummaryrefslogtreecommitdiffstats
path: root/SUBMITTING_PATCHES
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2010-01-23 12:11:38 -0800
committerShawn O. Pearce <spearce@spearce.org>2010-01-23 12:34:54 -0800
commit7c82df1114537fe221eeb2d8ac79b3eab9fa7225 (patch)
tree92b6f09e82eb88e56dc313941b0c58ac7838b007 /SUBMITTING_PATCHES
parent0238a21b624abf079ae21835a13067d2c8dedd81 (diff)
downloadjgit-7c82df1114537fe221eeb2d8ac79b3eab9fa7225.tar.gz
jgit-7c82df1114537fe221eeb2d8ac79b3eab9fa7225.zip
Relax ObjectChecker to permit missing tagger lines
Annotated tags created with C Git versions before the introduction of c818566 ([PATCH] Update tags to record who made them, 2005-07-14), do not have a "tagger" line present in the object header. This line did not appear in C Git until v0.99.1~9. Ancient projects such as the Linux kernel contain such tags, for example Linux 2.6.12 is older than when this feature first appeared in C Git. Linux v2.6.13-rc4 in late July 2005 is the first kernel version tag to actually contain a tagger line. It is therefore acceptable for the header to be missing, and for the RevTag.getTaggerIdent() method to return null. Since the Javadoc for getTaggerIdent() already explained that the identity may be null, we just need to test that this is true when the header is missing, and allow the ObjectChecker to pass anyway. Change-Id: I34ba82e0624a0d1a7edcf62ffba72260af6f7e5d See: http://code.google.com/p/gerrit/issues/detail?id=399 Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'SUBMITTING_PATCHES')
0 files changed, 0 insertions, 0 deletions