From 37f8321c38db284ea557e5a1348a2b12e2d3751e Mon Sep 17 00:00:00 2001 From: Johannes Berg Date: Fri, 5 Apr 2013 14:26:07 +0200 Subject: [PATCH] git tracker: rename 'prefail' to 'last-success' That's more obvious ... Signed-off-by: Johannes Berg --- devel/git-tracker.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/devel/git-tracker.py b/devel/git-tracker.py index 4c53c1baf1ba..526e5ac8b682 100755 --- a/devel/git-tracker.py +++ b/devel/git-tracker.py @@ -70,7 +70,7 @@ def handle_commit(args, msg, branch, treename, kernelobjdir, tmpdir, wgitdir, ba print l newline='' if prev_kernel_rev: - msg += '\n%sprefail-%s: %s' % (PREFIX, tree, prev_kernel_rev) + msg += '\n%s%s-last-success: %s' % (PREFIX, tree, prev_kernel_rev) os.rename(wgitdir, os.path.join(wdir, '.git')) @@ -194,8 +194,8 @@ if __name__ == '__main__': continue if old_data['backport'] == backport_rev and old_data[tree] == kernel_head: continue - prefail = 'prefail-%s' % tree - if old_data[tree] == kernel_head and not prefail in old_data: + last_success = '%s-last-success' % tree + if old_data[tree] == kernel_head and not last_success in old_data: handle_commit(args, "Update backport tree\n\n", branch, tree, kernelobjdir, branch_tmpdir, wgitdir, backport_rev, @@ -203,8 +203,8 @@ if __name__ == '__main__': env=backport_author_env) continue # update from old to new - if prefail in old_data: - prev = old_data[prefail] + if last_success in old_data: + prev = old_data[last_success] else: prev = old_data[tree] commits = git.log_commits(prev, kernel_head, tree=kernelobjdir) -- 2.30.2