From 0ea9bf20ae32454911519335ac8b05afeec8a4ba Mon Sep 17 00:00:00 2001 From: Johannes Berg Date: Thu, 18 Apr 2013 13:58:09 +0200 Subject: [PATCH] git-tracker: fix multi-commit tracking Fix a bug with multiple commits: the first commit in a series was always treated as "multiple" because it had no correct parent recorded in the dictionary. Signed-off-by: Johannes Berg --- devel/git-tracker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devel/git-tracker.py b/devel/git-tracker.py index 0771703c602a..9edc95cfb3b9 100755 --- a/devel/git-tracker.py +++ b/devel/git-tracker.py @@ -214,7 +214,7 @@ if __name__ == '__main__': print "too many commits (%d)!" % len(commits) sys.exit(10) prev_commits = {} - p = None + p = prev for commit in commits: prev_commits[commit] = p p = commit -- 2.30.2