* [PATCH] svnimport: Fix broken tags being generated
@ 2006-10-16 1:00 Petr Baudis
2006-10-16 5:40 ` Junio C Hamano
0 siblings, 1 reply; 3+ messages in thread
From: Petr Baudis @ 2006-10-16 1:00 UTC (permalink / raw)
To: Junio C Hamano; +Cc: git
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 <pasky@suse.cz>
---
git-svnimport.perl | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/git-svnimport.perl b/git-svnimport.perl
index 988514e..aca0e4f 100755
--- a/git-svnimport.perl
+++ b/git-svnimport.perl
@@ -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";
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] svnimport: Fix broken tags being generated
2006-10-16 1:00 [PATCH] svnimport: Fix broken tags being generated Petr Baudis
@ 2006-10-16 5:40 ` Junio C Hamano
2006-10-16 11:26 ` Petr Baudis
0 siblings, 1 reply; 3+ messages in thread
From: Junio C Hamano @ 2006-10-16 5:40 UTC (permalink / raw)
To: Petr Baudis; +Cc: git
Petr Baudis <pasky@suse.cz> writes:
> 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 <pasky@suse.cz>
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] svnimport: Fix broken tags being generated
2006-10-16 5:40 ` Junio C Hamano
@ 2006-10-16 11:26 ` Petr Baudis
0 siblings, 0 replies; 3+ messages in thread
From: Petr Baudis @ 2006-10-16 11:26 UTC (permalink / raw)
To: Junio C Hamano; +Cc: git
Dear diary, on Mon, Oct 16, 2006 at 07:40:00AM CEST, I got a letter
where Junio C Hamano <junkio@cox.net> said that...
> Petr Baudis <pasky@suse.cz> writes:
>
> > 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 <pasky@suse.cz>
>
> 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.
--
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*',/((..)*)$/)
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-10-16 11:27 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-16 1:00 [PATCH] svnimport: Fix broken tags being generated Petr Baudis
2006-10-16 5:40 ` Junio C Hamano
2006-10-16 11:26 ` Petr Baudis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).