summaryrefslogtreecommitdiffhomepage
path: root/git-buildpackage
diff options
context:
space:
mode:
authorGuido Guenther <agx@sigxcpu.org>2008-04-26 02:29:01 +0200
committerGuido Guenther <agx@sigxcpu.org>2008-04-26 02:36:19 +0200
commit2e2c476773614fdef330ce91c862b06964b48662 (patch)
tree1553a049e04ee36b8d0442047b97f73043d8f569 /git-buildpackage
parent720ad47a7bd6b44f5fb74409ca5770e3f134df0a (diff)
make ignore-new a config file option
Closes: #466900
Diffstat (limited to 'git-buildpackage')
-rwxr-xr-xgit-buildpackage4
1 files changed, 2 insertions, 2 deletions
diff --git a/git-buildpackage b/git-buildpackage
index 6e843cc2..af7822c6 100755
--- a/git-buildpackage
+++ b/git-buildpackage
@@ -137,8 +137,8 @@ def main(argv):
parser = GbpOptionParser(command=os.path.basename(argv[0]), prefix=prefix)
- parser.add_option("--git-ignore-new", action="store_true", dest="ignore_new", default=False,
- help="build with uncommited changes in the source tree")
+ parser.add_config_file_option(option_name = "ignore-new", dest="ignore_new",
+ help="build with uncommited changes in the source tree", action="store_true")
parser.add_option("--git-verbose", action="store_true", dest="verbose", default=False,
help="verbose command execution")
parser.add_config_file_option(option_name="builder", dest="builder",