summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Bosdonnat <cedricbosdo@openoffice.org>2010-10-21 00:46:58 +0200
committerJonathan Corbet <corbet@lwn.net>2011-02-11 09:23:48 -0700
commit5f2d65c8fd62458699f6a2270319125bbdd4a4b4 (patch)
tree9dfa9c21853422fcbe56ec01c48f690226cdfe4b
parentc7378c47927e6aa6e048ab6d581204e8ad0ff47c (diff)
Only add Linus and Andrew with -a
[jc: removed unneeded global line]
-rwxr-xr-xgitdm7
1 files changed, 4 insertions, 3 deletions
diff --git a/gitdm b/gitdm
index dce5d3c..93992a4 100755
--- a/gitdm
+++ b/gitdm
@@ -295,7 +295,7 @@ def ApplyFileFilter (line, ignore):
# remove the (redundant) Linus signoff.
#
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)
@@ -313,9 +313,10 @@ ConfigFile.ConfigFile (CFName, DirName)
# Let's pre-seed the database with a couple of hackers
# we want to remember.
#
-Linus = ('torvalds@linux-foundation.org',
+if AkpmOverLt == 1:
+ Linus = ('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'))
NextLine = sys.stdin.readline ()