summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1e5db30)
raw | patch | inline | side by side (parent: 1e5db30)
author | Eric Wong <normalperson@yhbt.net> | |
Thu, 1 Feb 2007 21:12:26 +0000 (13:12 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Fri, 2 Feb 2007 05:51:36 +0000 (21:51 -0800) |
This mainly quiets down warnings when running git svn log.
Signed-off-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-svn.perl | patch | blob | history |
diff --git a/git-svn.perl b/git-svn.perl
index 68156fc8a5d3e886fae61dae531f647e35b4899d..8ebaae9ff8865ab638f7a2db8c64f2d22f227470 100755 (executable)
--- a/git-svn.perl
+++ b/git-svn.perl
process_commit($_, $r_min, $r_max) foreach reverse @k;
}
out:
- eval { command_close_pipe($log) };
+ close $log;
print '-' x72,"\n" unless $_incremental || $_oneline;
}
$seen{$commit} = 1;
}
}
- eval { command_close_pipe($pipe) };
+ close $pipe;
}
}
last unless /^\S/;
}
}
- eval { command_close_pipe($ch) }; # breaking the pipe
+ close $ch; # breaking the pipe
# if real parents are the only ones in the grafts, drop it
next if join(' ',sort keys %$p) eq join(' ',sort keys %x);
} elsif ($tz =~ s/^\-//) {
$s -= tz_to_s_offset($tz);
}
- eval { command_close_pipe($fh) };
+ close $fh;
return $s;
}
die "Can't get commit time for commit: $cmt\n";
delete $rm->{join '/', @dn};
}
unless (%$rm) {
- eval { command_close_pipe($fh) };
+ close $fh;
return;
}
}