login
Header Space

 
 

Perl warning in git-svn (git v1.5.3-rc7-16-ge340d7d)

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <git@...>
Date: Friday, August 31, 2007 - 8:58 am

Hi,

The latest head of git gives me this when doing most operations, this
also happens with the rc7 experimental Debian package. It's annoying
because it prints this line hundreds of times for each call to 'log',
for example

"Use of uninitialized value in string eq at blah/git/git-svn line 826."

and this fixes it;

diff --git a/git-svn.perl b/git-svn.perl
index 4e325b7..3d0c76d 100755
--- a/git-svn.perl
+++ b/git-svn.perl
@@ -808,7 +808,7 @@ sub cmt_metadata {
 sub working_head_info {
        my ($head, $refs) = @_;
        my ($fh, $ctx) = command_output_pipe('log', $head);
-       my $hash;
+       my $hash = "";
        my %max;
        while (<$fh>) {
                if ( m{^commit ($::sha1)$} ) {
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Perl warning in git-svn (git v1.5.3-rc7-16-ge340d7d), Robert Newson, (Fri Aug 31, 8:58 am)
Re: Perl warning in git-svn (git v1.5.3-rc7-16-ge340d7d), Junio C Hamano, (Fri Aug 31, 10:52 am)
Re: Perl warning in git-svn (git v1.5.3-rc7-16-ge340d7d), Junio C Hamano, (Fri Aug 31, 4:50 pm)
git-svn: Protect against "diff.color = true"., Junio C Hamano, (Fri Aug 31, 5:29 pm)
Re: git-svn: Protect against "diff.color = true"., Eric Wong, (Fri Aug 31, 5:58 pm)
Re: git-svn: Protect against "diff.color = true"., Johannes Schindelin, (Fri Aug 31, 5:38 pm)
Re: git-svn: Protect against "diff.color = true"., Junio C Hamano, (Fri Aug 31, 5:46 pm)
Re: git-svn: Protect against "diff.color = true"., Johannes Schindelin, (Fri Aug 31, 5:53 pm)
Re: git-svn: Protect against "diff.color = true"., Junio C Hamano, (Fri Aug 31, 6:14 pm)
Re: Perl warning in git-svn (git v1.5.3-rc7-16-ge340d7d), Junio C Hamano, (Fri Aug 31, 5:22 pm)
Re: Perl warning in git-svn (git v1.5.3-rc7-16-ge340d7d), Johannes Schindelin, (Fri Aug 31, 7:51 pm)
Re: Perl warning in git-svn (git v1.5.3-rc7-16-ge340d7d), Junio C Hamano, (Fri Aug 31, 12:09 pm)
Re: Perl warning in git-svn (git v1.5.3-rc7-16-ge340d7d), Robert Newson, (Fri Aug 31, 12:18 pm)
Re: Perl warning in git-svn (git v1.5.3-rc7-16-ge340d7d), Robert Newson, (Fri Aug 31, 12:25 pm)
Re: Perl warning in git-svn (git v1.5.3-rc7-16-ge340d7d), Robert Newson, (Fri Aug 31, 12:25 pm)
Re: Perl warning in git-svn (git v1.5.3-rc7-16-ge340d7d), Robert Newson, (Fri Aug 31, 11:31 am)
speck-geostationary