[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-licensing
Subject:    [kde-dev-scripts] /: relicensecheck.pl stopped too early looking at git log, in case the file had mo
From:       David Faure <faure () kde ! org>
Date:       2015-07-24 20:40:58
Message-ID: E1ZIjm6-0005Qm-7S () scm ! kde ! org
[Download RAW message or body]

Git commit d417df0bb37ab2af7fd3b0c701e97c3a6f954c89 by David Faure.
Committed on 24/07/2015 at 20:39.
Pushed by dfaure into branch 'master'.

relicensecheck.pl stopped too early looking at git log, in case the file had moved!

Added the --follow option to `git log` to fix that.

CCMAIL: mail@milianw.de, kde-licensing@kde.org

M  +1    -1    relicensecheck.pl

http://commits.kde.org/kde-dev-scripts/d417df0bb37ab2af7fd3b0c701e97c3a6f954c89

diff --git a/relicensecheck.pl b/relicensecheck.pl
index 7dde080..3dc6ebd 100755
--- a/relicensecheck.pl
+++ b/relicensecheck.pl
@@ -402,7 +402,7 @@ if ($svn) {
     open(IN, "-|") || exec 'svn', 'log', '-q', $file;
 } else {
     # Format the git output to match the format of svn log.
-    open(IN, "-|") || exec 'git', 'log', '--abbrev-commit', '--pretty=format:r%h | \
%ae ', $file; +    open(IN, "-|") || exec 'git', 'log', '--follow', \
'--abbrev-commit', '--pretty=format:r%h | %ae ', $file;  }
 while(<IN>) {
 
_______________________________________________
Kde-licensing mailing list
Kde-licensing@kde.org
https://mail.kde.org/mailman/listinfo/kde-licensing


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic