From 980bf96bf21868e9b1fd8c1ef68da534e97ccbb5 Mon Sep 17 00:00:00 2001 From: Alex Waterman Date: Tue, 12 Sep 2017 12:51:24 -0700 Subject: scripts: rfr: Remove duplicate subjects The commit subject is printed implicitly in the commit message so remove the subject from the header generated by `rfr'. Also delete a debug line that got left over accidentally. Change-Id: Ia7fe704182d87504c5794ad4661d8dd2f14bc51f Signed-off-by: Alex Waterman Reviewed-on: https://git-master.nvidia.com/r/1558431 Reviewed-by: Konsta Holtta Reviewed-by: Terje Bergstrom --- scripts/rfr | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'scripts/rfr') diff --git a/scripts/rfr b/scripts/rfr index 1b12a9ce..723fde51 100755 --- a/scripts/rfr +++ b/scripts/rfr @@ -174,7 +174,6 @@ Thanks! cmt_template = """ +---------------------------------------- | {url} -| {subject} | Author: {author} {cmtmsg}""" @@ -186,7 +185,6 @@ Thanks! cmt_descriptions = '' for c in commits_info: cmt_descriptions += " %s - %s\n" % (c['url'], c['subject']) - print(cmt_descriptions) # Add new lines around the extra_message, if applicable. Otherwise we don't # want anything to show up for extra_message. @@ -197,7 +195,7 @@ Thanks! cmt_verbose = '' for c in commits_info: - cmt_verbose += cmt_template.format(url=c['url'], subject=c['subject'], + cmt_verbose += cmt_template.format(url=c['url'], author=c['owner']['name'], cmtmsg=indent_lines( c['commitMessage'], ' ')) -- cgit v1.2.2