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
(from parent 1:
8eef82c
)
return if there's no mode change and no content change
master
author
Stefan Metzmacher
<metze@samba.org>
Thu, 3 Jan 2008 18:52:58 +0000
(12:52 -0600)
committer
Stefan Metzmacher
<metze@samba.org>
Thu, 3 Jan 2008 18:52:58 +0000
(12:52 -0600)
metze
SVN2GitEditor.pm
patch
|
blob
|
history
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,