diff options
-rwxr-xr-x | git-buildpackage | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/git-buildpackage b/git-buildpackage index ccca18b9..f26dfd96 100755 --- a/git-buildpackage +++ b/git-buildpackage @@ -185,7 +185,8 @@ def guess_comp_type(repo, comp_type, srcpkg, upstream_version): except KeyError: gbp.log.warn("Unknown compression type - guessing.") comp_type = 'auto' - else: + + if comp_type == 'auto': if not repo.has_branch(PristineTar.branch): comp_type = 'gzip' else: |