projects
/
tools
/
git-buildpackage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
afad4f9
)
git-buildpackage: fix fallback to auto detection for unknown compression types
author
Guido Günther
<agx@sigxcpu.org>
Sat, 15 Jan 2011 14:38:47 +0000
(15:38 +0100)
committer
Guido Günther
<agx@sigxcpu.org>
Sat, 15 Jan 2011 14:38:47 +0000
(15:38 +0100)
git-buildpackage
patch
|
blob
|
history
diff --git
a/git-buildpackage
b/git-buildpackage
index
ccca18b
..
f26dfd9
100755
(executable)
--- 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: