diff options
author | Guido Guenther <agx@sigxcpu.org> | 2008-04-26 02:29:01 +0200 |
---|---|---|
committer | Guido Guenther <agx@sigxcpu.org> | 2008-04-26 02:36:19 +0200 |
commit | 2e2c476773614fdef330ce91c862b06964b48662 (patch) | |
tree | 1553a049e04ee36b8d0442047b97f73043d8f569 | |
parent | 720ad47a7bd6b44f5fb74409ca5770e3f134df0a (diff) |
make ignore-new a config file option
Closes: #466900
-rw-r--r-- | gbp.conf | 1 | ||||
-rwxr-xr-x | git-buildpackage | 4 |
2 files changed, 3 insertions, 2 deletions
@@ -27,6 +27,7 @@ # use this for more svn-buildpackage like behaviour: #export-dir = ../build-area/ #tarball-dir = ../tarballs/ +#ignore-new = True # Options only affecting git-import-orig [git-import-orig] diff --git a/git-buildpackage b/git-buildpackage index 6e843cc..af7822c 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", |