git.samba.org
/
metze
/
old
/
samba4-sync
/
samba4-sync.scripts
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f5d79d
)
fix leading whitespaces in log messages
author
Stefan Metzmacher
<metze@samba.org>
Fri, 21 Dec 2007 12:19:21 +0000
(13:19 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Fri, 21 Dec 2007 12:19:21 +0000
(13:19 +0100)
metze
SVN2GitPatch.pm
patch
|
blob
|
history
diff --git
a/SVN2GitPatch.pm
b/SVN2GitPatch.pm
index 3f65cbc947fe0af8810f3a88e24a997888fd93c4..cb74ee2a1e4b5938bc0696ea54811ad03cd8839d 100644
(file)
--- a/
SVN2GitPatch.pm
+++ b/
SVN2GitPatch.pm
@@
-125,7
+125,15
@@
sub svn2git_log($$)
{
my ($self, $in) = @_;
- my $out = $in;
+ my @tmp = split("\n", $in);
+
+ while (1){
+ my $l = $tmp[0];
+ last unless $l =~ /^[ \t]*$/;
+ shift(@tmp);
+ }
+
+ my $out = join("\n", @tmp);
return $out;
}