svnimport: Fix broken tags being generated
PATCH 1/1 svnimport: Fix broken tags being generated
Currently git-svnimport generates broken tags missing the timespec in the 'tagger' line. This is a random stab at a minimal fix.
---
git-svnimport.perl | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
git-svnimport.perl +1 -1
@@ -838,7 +838,7 @@ # } print $out ("object $cid\n". "type commit\n". "tag $dest\n". - "tagger $committer_name <$committer_email>\n") and + "tagger $committer_name <$committer_email> 0 +0000\n") and close($out) or die "Cannot create tag object $dest: $!\n";
Quoted 4 lines · Petr Baudis
Currently git-svnimport generates broken tags missing the timespec in the 'tagger' line. This is a random stab at a minimal fix.
Signed-off-by Petr Baudis <[email protected]>
Interesting. Applied.
I remember that older "git tag" does not even add the tagger line (the kernel history starts using one from 2.6.13-rc4 on Jul 28, 2005). Does gitweb handle those tags correctly, I wonder?
Especially for 2.6.11-tree tag there is no info you can guess any "age" information from.
Dear diary, on Mon, Oct 16, 2006 at 07:40:00AM CEST, I got a letter where Junio C Hamano <[email protected]> said that...
Quoted 5 lines
Quoted 3 lines · Petr Baudis
Currently git-svnimport generates broken tags missing the timespec in the 'tagger' line. This is a random stab at a minimal fix.
Quoted 7 lines
Quoted 1 line
Signed-off-by Petr Baudis <[email protected]>Interesting. Applied.
I remember that older "git tag" does not even add the tagger line (the kernel history starts using one from 2.6.13-rc4 on Jul 28, 2005). Does gitweb handle those tags correctly, I wonder?
It seems from git_tag() that the original author thought about that.
Signature · 5 lines
Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
#!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
$/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)