|author||Jonathan Corbet <email@example.com>||2013-12-30 16:02:21 -0700|
|committer||Jonathan Corbet <firstname.lastname@example.org>||2013-12-30 16:02:21 -0700|
Respond properly to a missing commit
Looping forever until the disk fills is somewhat antisocial behavior; they taught me that somewhere in grad school, I'm sure...
1 files changed, 9 insertions, 1 deletions
@@ -79,8 +79,15 @@ def PrintFirstEmpls():
empls = FirstEmpls.keys()
- for e in empls[:20]:
+ for e in empls[:30]:
print '%5d: %s' % (FirstEmpls[e], e)
+ # We "know" that unknown/none are always the top two...
+ companies = 0
+ for e in empls[2:]:
+ companies += FirstEmpls[e]
+ print 'Companies: %d' % (companies)
# Version comparison stuff. Kernel-specific, obviously.
@@ -133,6 +140,7 @@ while patch:
v = VDB[patch.commit]
print 'Funky commit', patch.commit
+ patch = gitlog.grabpatch(sys.stdin)
# The first patch we see is the last they committed, since git