]> xenbits.xensource.com Git - people/larsk/xenproject-org-gitdm.git/commitdiff
parse the config file _after_ we have read the command line options
authorGreg KH <greg@kroah.com>
Thu, 24 Jul 2008 00:03:13 +0000 (17:03 -0700)
committerJonathan Corbet <corbet@lwn.net>
Thu, 24 Jul 2008 18:03:40 +0000 (12:03 -0600)
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>
gitdm

diff --git a/gitdm b/gitdm
index 9e82bccdd7eb3ebb1956817fad19d1b9c58ed911..d95312054418c712d28cd26f0c0c2b24c3df1ed7 100755 (executable)
--- 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
@@ -429,6 +428,11 @@ NextLine = sys.stdin.readline ()
 TotalChanged = TotalAdded = TotalRemoved = 0
 ParseOpts ()
 
+#
+# Read the config files.
+#
+ConfigFile.ConfigFile (CFName)
+
 #
 # Snarf changesets.
 #