summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg KH <greg@kroah.com>2008-07-23 17:03:13 -0700
committerJonathan Corbet <corbet@lwn.net>2008-07-24 12:03:40 -0600
commit5234a1f726ba264e58095447439d98cdff5ffd9c (patch)
tree7988a30a6b6186529121f8ad86c07193d661f90e
parent80112779cfeeb7933578dc00439bb710b331df74 (diff)
parse the config file _after_ we have read the command line options
Otherwise it doesn't matter if we change the config file option or not... Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
-rwxr-xr-xgitdm8
1 files changed, 6 insertions, 2 deletions
diff --git a/gitdm b/gitdm
index 9e82bcc..d953120 100755
--- a/gitdm
+++ b/gitdm
@@ -412,9 +412,8 @@ def ReportByESOBs (elist):
EndReport ()
#
-# Here starts the real program. Read the config files.
+# Here starts the real program.
#
-ConfigFile.ConfigFile (CFName)
#
# Let's pre-seed the database with a couple of hackers
@@ -430,6 +429,11 @@ TotalChanged = TotalAdded = TotalRemoved = 0
ParseOpts ()
#
+# Read the config files.
+#
+ConfigFile.ConfigFile (CFName)
+
+#
# Snarf changesets.
#
print >> sys.stderr, 'Grabbing changesets...\r',