commit:     893f2dc6c3b67bd9c137f9ce41abe243bc9eb0bb
Author:     Mike Pagano <mpagano <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 24 16:42:56 2018 +0000
Commit:     Mike Pagano <mpagano <AT> gentoo <DOT> org>
CommitDate: Tue Jul 24 16:42:56 2018 +0000
URL:        https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=893f2dc6

Update email announcement for X-1 kernels.

 web/email-announcement.pl | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/web/email-announcement.pl b/web/email-announcement.pl
index c533ae5..476941f 100755
--- a/web/email-announcement.pl
+++ b/web/email-announcement.pl
@@ -33,6 +33,7 @@ $result = `git -C ${LOCAL_TMP}/linux-patches checkout ${tag}`;
 if ($rel > 1) {
        $oldtag = $ver.'-'.($rel-1);
     $cmd='git -C '.${LOCAL_TMP}.'/linux-patches rev-list '.$oldtag;
+    printf ("1 cmd is $cmd\n");
     @output = `$cmd`;
 
     foreach $line (@output) { 
@@ -49,18 +50,22 @@ if ($rel > 1) {
 
     if ($have_history == 1) {
         $cmd='git --no-pager -C '.${LOCAL_TMP}.'/linux-patches log  
--pretty=format:"%s (%an)" --name-status '.$oldtag.'..'.$tag;
+       printf ("2 cmd is $cmd\n");
         @log_lines = `$cmd`;
         $have_history = 1;
     }
     else {
         $cmd='git --no-pager -C '.${LOCAL_TMP}.'/linux-patches log  
--pretty=format:"%s (%an)" --name-status '.$tag;
+       printf ("3 cmd is $cmd\n");
         @log_lines = `$cmd`;
     }
 }
 else {
     # just do git log
     #$cmd='git --no-pager -C '.${LOCAL_TMP}.'/linux-patches log  
--pretty=format:"%s (%an)" --name-status '.$ver;
-    $cmd='git --no-pager -C '.${LOCAL_TMP}.'/linux-patches log  
--pretty=format:"%s (%an)" ..'.$tag;
+    #$cmd='git --no-pager -C '.${LOCAL_TMP}.'/linux-patches log  
--pretty=format:"%s (%an)" ..'.$tag;
+    $cmd='git --no-pager -C '.${LOCAL_TMP}.'/linux-patches log  
--pretty=format:"%s (%an)" '.$tag.'...master';
+    printf ("4 cmd is $cmd\n");
     @log_lines = `$cmd`;
 }
 

Reply via email to