X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=git-debpush;h=63057ed24ee3334c3cfc4dd0d5d35bcc3cdec1ef;hb=89e8c485b72b259f36e7aa0f7da305fcbd8e142b;hp=ae5f20f0ea967535d0cdb04a9f6619636b829391;hpb=31ce46f54f9f8a6ead0105db68646277944b940d;p=dgit.git diff --git a/git-debpush b/git-debpush index ae5f20f0..63057ed2 100755 --- a/git-debpush +++ b/git-debpush @@ -95,7 +95,8 @@ while true; do '--baredebian'|'--baredebian+git') quilt_mode=baredebian; shift; continue ;; '--baredebian+tarball') - quilt_mode=baredebian+tarball; shift; continue ;; + fail "--baredebian+tarball quilt mode not supported" + ;; '--') shift; break ;; *) badusage "unknown option $1" ;; @@ -107,8 +108,9 @@ if [ $# != 0 ]; then fi case "$quilt_mode" in - linear|auto|smash|nofix|gbp|dpm|unapplied|baredebian|baredebian+tarball|'') ;; + linear|auto|smash|nofix|gbp|dpm|unapplied|baredebian|'') ;; baredebian+git) quilt_mode="baredebian" ;; + baredebian+tarball) fail "--baredebian+tarball quilt mode not supported" ;; *) badusage "invalid quilt mode: $quilt_mode" ;; esac