git.samba.org
/
metze
/
old
/
samba4-sync
/
samba4-sync.scripts
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
return if there's no mode change and no content change
[metze/old/samba4-sync/samba4-sync.scripts/.git]
/
SVN2GitEditor.pm
diff --git
a/SVN2GitEditor.pm
b/SVN2GitEditor.pm
index fb87b480e27a329e42aaa7a40116bde77271b55f..05918985901ac51a272fc8e968e6bf473a4fdcae 100644
(file)
--- a/
SVN2GitEditor.pm
+++ b/
SVN2GitEditor.pm
@@
-179,6
+179,8
@@
sub output_diff {
my $index = "";
$index = "index $osha1..$nsha1\n" unless $self->{info}{$path}{nodiff};
+ return if $mode eq "" and $index eq "";
+
print $fh (
"diff --git $ofile $nfile\n",
$mode,