aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2009-02-26 11:49:56 +0100
committerGuido Günther <agx@sigxcpu.org>2009-02-26 13:48:29 +0100
commit1e1a1ca349ef806314c2e91056f8cd074e9116ee (patch)
tree904c86970b4f87f8cfa68e654530b48059be2f02
parente3b76103f7e0e238341303e5941e867278594948 (diff)
add --no-pristine-tar
Closes: #517024
-rw-r--r--docs/manpages/git-buildpackage.sgml4
-rw-r--r--docs/manpages/git-import-dsc.sgml2
-rw-r--r--docs/manpages/git-import-orig.sgml2
-rwxr-xr-xgit-buildpackage2
-rwxr-xr-xgit-import-dsc2
-rwxr-xr-xgit-import-orig2
6 files changed, 7 insertions, 7 deletions
diff --git a/docs/manpages/git-buildpackage.sgml b/docs/manpages/git-buildpackage.sgml
index 8ee48b0..b283b4e 100644
--- a/docs/manpages/git-buildpackage.sgml
+++ b/docs/manpages/git-buildpackage.sgml
@@ -34,7 +34,7 @@
<arg><option>--git-tarball-dir=</option><replaceable>directory</replaceable></arg>
<arg><option>--git-export-dir=</option><replaceable>directory</replaceable></arg>
<arg><option>--git-export=</option><replaceable>treeish</replaceable></arg>
- <arg><option>--git-pristine-tar</option></arg>
+ <arg><option>--git-[no-]pristine-tar</option></arg>
<arg><option>--git-dont-purge</option></arg>
<arg><option>--git-tag-only</option></arg>
</cmdsynopsis>
@@ -202,7 +202,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><option>--git-pristine-tar</option>
+ <term><option>--git-[no-]pristine-tar</option>
</term>
<listitem>
<para>use pristine-tar to create the orig.tar.gz</para>
diff --git a/docs/manpages/git-import-dsc.sgml b/docs/manpages/git-import-dsc.sgml
index fb5d380..a3426b0 100644
--- a/docs/manpages/git-import-dsc.sgml
+++ b/docs/manpages/git-import-dsc.sgml
@@ -30,7 +30,7 @@
<arg><option>--debian-tag=</option><replaceable>tag-format</replaceable></arg>
<arg><option>--upstream-tag=</option><replaceable>tag-format</replaceable></arg>
<arg><option>--filter=</option><replaceable>pattern</replaceable></arg>
- <arg><option>--pristine-tar</option></arg>
+ <arg><option>--[no-]pristine-tar</option></arg>
<arg choice="plain"><replaceable>debian-source.dsc</replaceable></arg>
</cmdsynopsis>
</refsynopsisdiv>
diff --git a/docs/manpages/git-import-orig.sgml b/docs/manpages/git-import-orig.sgml
index 9d23ab5..2c0d44d 100644
--- a/docs/manpages/git-import-orig.sgml
+++ b/docs/manpages/git-import-orig.sgml
@@ -31,7 +31,7 @@
<arg><option>--keyid=</option><replaceable>gpg-keyid</replaceable></arg>
<arg><option>--upstream-tag=</option><replaceable>tag-format</replaceable></arg>
<arg><option>--filter=</option><replaceable>pattern</replaceable></arg>
- <arg><option>--pristine-tar</option></arg>
+ <arg><option>--[no-]pristine-tar</option></arg>
<arg choice="plain"><replaceable>upstream-source</replaceable></arg>
</cmdsynopsis>
</refsynopsisdiv>
diff --git a/git-buildpackage b/git-buildpackage
index bda9d16..640486a 100755
--- a/git-buildpackage
+++ b/git-buildpackage
@@ -173,7 +173,7 @@ def main(argv):
tag_group.add_config_file_option(option_name="keyid", dest="keyid")
tag_group.add_config_file_option(option_name="debian-tag", dest="debian_tag")
tag_group.add_config_file_option(option_name="upstream-tag", dest="upstream_tag")
- orig_group.add_config_file_option(option_name="pristine-tar", dest="pristine_tar", action="store_true")
+ orig_group.add_boolean_config_file_option(option_name="pristine-tar", dest="pristine_tar")
orig_group.add_config_file_option(option_name="no-create-orig", dest="no_create_orig",
help="don't create orig.tar.gz", action="store_true")
orig_group.add_config_file_option(option_name="tarball-dir", dest="tarball_dir",
diff --git a/git-import-dsc b/git-import-dsc
index f9c50cf..a74f7b3 100755
--- a/git-import-dsc
+++ b/git-import-dsc
@@ -105,7 +105,7 @@ def main(argv):
parser.add_config_file_option(option_name="debian-tag", dest="debian_tag")
parser.add_config_file_option(option_name="upstream-tag", dest="upstream_tag")
parser.add_config_file_option(option_name="filter", dest="filters", action="append")
- parser.add_config_file_option(option_name="pristine-tar", dest="pristine_tar", action="store_true")
+ parser.add_boolean_config_file_option(option_name="pristine-tar", dest="pristine_tar")
(options, args) = parser.parse_args(argv[1:])
if options.verbose:
diff --git a/git-import-orig b/git-import-orig
index e7a344f..67090e9 100755
--- a/git-import-orig
+++ b/git-import-orig
@@ -119,7 +119,7 @@ def main(argv):
parser.add_config_file_option(option_name="keyid", dest="keyid")
parser.add_config_file_option(option_name="upstream-tag", dest="upstream_tag")
parser.add_config_file_option(option_name="filter", dest="filters", action="append")
- parser.add_config_file_option(option_name="pristine-tar", dest="pristine_tar", action="store_true")
+ parser.add_boolean_config_file_option(option_name="pristine-tar", dest="pristine_tar")
(options, args) = parser.parse_args(argv[1:])
if options.verbose: