diff options
author | Johannes Berg <johannes.berg@intel.com> | 2013-04-18 13:58:09 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-04-18 13:59:01 +0200 |
commit | 0ea9bf20ae32454911519335ac8b05afeec8a4ba (patch) | |
tree | 8023c0378bc1fe77ce0cdb2ad6af238829e2c8a4 /devel/git-tracker.py | |
parent | 86b2d8ed29e5a8eb3a2da0b4bb4dd14dc38daedf (diff) |
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 <johannes.berg@intel.com>
Diffstat (limited to 'devel/git-tracker.py')
-rwxr-xr-x | devel/git-tracker.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/devel/git-tracker.py b/devel/git-tracker.py index 0771703c..9edc95cf 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 |