1 |
commit: 893f2dc6c3b67bd9c137f9ce41abe243bc9eb0bb |
2 |
Author: Mike Pagano <mpagano <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jul 24 16:42:56 2018 +0000 |
4 |
Commit: Mike Pagano <mpagano <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jul 24 16:42:56 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=893f2dc6 |
7 |
|
8 |
Update email announcement for X-1 kernels. |
9 |
|
10 |
web/email-announcement.pl | 7 ++++++- |
11 |
1 file changed, 6 insertions(+), 1 deletion(-) |
12 |
|
13 |
diff --git a/web/email-announcement.pl b/web/email-announcement.pl |
14 |
index c533ae5..476941f 100755 |
15 |
--- a/web/email-announcement.pl |
16 |
+++ b/web/email-announcement.pl |
17 |
@@ -33,6 +33,7 @@ $result = `git -C ${LOCAL_TMP}/linux-patches checkout ${tag}`; |
18 |
if ($rel > 1) { |
19 |
$oldtag = $ver.'-'.($rel-1); |
20 |
$cmd='git -C '.${LOCAL_TMP}.'/linux-patches rev-list '.$oldtag; |
21 |
+ printf ("1 cmd is $cmd\n"); |
22 |
@output = `$cmd`; |
23 |
|
24 |
foreach $line (@output) { |
25 |
@@ -49,18 +50,22 @@ if ($rel > 1) { |
26 |
|
27 |
if ($have_history == 1) { |
28 |
$cmd='git --no-pager -C '.${LOCAL_TMP}.'/linux-patches log --pretty=format:"%s (%an)" --name-status '.$oldtag.'..'.$tag; |
29 |
+ printf ("2 cmd is $cmd\n"); |
30 |
@log_lines = `$cmd`; |
31 |
$have_history = 1; |
32 |
} |
33 |
else { |
34 |
$cmd='git --no-pager -C '.${LOCAL_TMP}.'/linux-patches log --pretty=format:"%s (%an)" --name-status '.$tag; |
35 |
+ printf ("3 cmd is $cmd\n"); |
36 |
@log_lines = `$cmd`; |
37 |
} |
38 |
} |
39 |
else { |
40 |
# just do git log |
41 |
#$cmd='git --no-pager -C '.${LOCAL_TMP}.'/linux-patches log --pretty=format:"%s (%an)" --name-status '.$ver; |
42 |
- $cmd='git --no-pager -C '.${LOCAL_TMP}.'/linux-patches log --pretty=format:"%s (%an)" ..'.$tag; |
43 |
+ #$cmd='git --no-pager -C '.${LOCAL_TMP}.'/linux-patches log --pretty=format:"%s (%an)" ..'.$tag; |
44 |
+ $cmd='git --no-pager -C '.${LOCAL_TMP}.'/linux-patches log --pretty=format:"%s (%an)" '.$tag.'...master'; |
45 |
+ printf ("4 cmd is $cmd\n"); |
46 |
@log_lines = `$cmd`; |
47 |
} |