aboutsummaryrefslogtreecommitdiffhomepage
path: root/gbp/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'gbp/config.py')
-rw-r--r--gbp/config.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/gbp/config.py b/gbp/config.py
index 80506090..ee44e3ff 100644
--- a/gbp/config.py
+++ b/gbp/config.py
@@ -101,7 +101,8 @@ class GbpOptionParser(OptionParser):
@cvar def_config_files: config files we parse
@type def_config_files: dict (type, path)
"""
- defaults = {'allow-unauthenticated': 'False',
+ defaults = {'abbrev': 7,
+ 'allow-unauthenticated': 'False',
'arch': '',
'author-date-is-committer-date': 'False',
'author-is-committer': 'False',
@@ -343,6 +344,8 @@ class GbpOptionParser(OptionParser):
'drop':
"In case of 'export' drop the patch-queue branch "
"after export. Default is '%(drop)s'",
+ 'abbrev':
+ "abbreviate commits to this length. default is '%(abbrev)s'",
'commit':
"commit changes after export, Default is '%(commit)s'",
'rollback':