Only add Linus and Andrew with -a

[jc: removed unneeded global line]
This commit is contained in:
Cédric Bosdonnat 2010-10-21 00:46:58 +02:00 committed by Jonathan Corbet
parent c7378c4792
commit 5f2d65c8fd

7
gitdm
View File

@ -295,7 +295,7 @@ def ApplyFileFilter (line, ignore):
# remove the (redundant) Linus signoff. # remove the (redundant) Linus signoff.
# #
def TrimLTSOBs (p): def TrimLTSOBs (p):
if Linus in p.sobs and Akpm in p.sobs: if AkpmOverLt == 1 and Linus in p.sobs and Akpm in p.sobs:
p.sobs.remove (Linus) p.sobs.remove (Linus)
@ -313,9 +313,10 @@ ConfigFile.ConfigFile (CFName, DirName)
# Let's pre-seed the database with a couple of hackers # Let's pre-seed the database with a couple of hackers
# we want to remember. # we want to remember.
# #
Linus = ('torvalds@linux-foundation.org', if AkpmOverLt == 1:
Linus = ('torvalds@linux-foundation.org',
LookupStoreHacker ('Linus Torvalds', 'torvalds@linux-foundation.org')) LookupStoreHacker ('Linus Torvalds', 'torvalds@linux-foundation.org'))
Akpm = ('akpm@linux-foundation.org', Akpm = ('akpm@linux-foundation.org',
LookupStoreHacker ('Andrew Morton', 'akpm@linux-foundation.org')) LookupStoreHacker ('Andrew Morton', 'akpm@linux-foundation.org'))
NextLine = sys.stdin.readline () NextLine = sys.stdin.readline ()