diff options
-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 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", |