[Development] git-gpush fails with "bad band #101

René J.V. Bertin rjvbertin at gmail.com
Fri May 8 20:05:49 CEST 2015


On Friday May 08 2015 19:30:03 Oswald Buddenhagen wrote:
> On Fri, May 08, 2015 at 06:46:51PM +0200, René J.V. Bertin wrote:
> > On Friday May 08 2015 09:05:58 Thiago Macieira wrote:
> > 
> > > Can you try pushing over SSH instead of HTTPS?
> > 
> > I use https because it seems to be more reliable to me, but:
> > 
> > %> ../qtrepotools-git/bin/git-gpush -v
> > Pushing HEAD for 5.5 on gerrit ...
> > Pushing to ssh://codereview.qt-project.org/qt/qtbase
> > X11 forwarding request failed on channel 0
> > error: error: invalid protocol: wanted 'old new ref'
> >
> ehm.
> what exactly does "git remote -v" say?

gerrit    ssh://codereview.qt-project.org/qt/qtbase (fetch)
gerrit  ssh://codereview.qt-project.org/qt/qtbase (push)
origin  git://code.qt.io/qt/qtbase.git (fetch)
origin  git://code.qt.io/qt/qtbase.git (push)

And to be exhaustive, the .git/config file:

[core]
        repositoryformatversion = 0
        filemode = true
        bare = false
        logallrefupdates = true
        precomposeunicode = true
[remote "origin"]
        url = git://code.qt.io/qt/qtbase.git
        fetch = +refs/heads/*:refs/remotes/origin/*
[branch "5.5"]
        remote = origin
        merge = refs/heads/5.5
[branch "5.4.1"]
        remote = origin
        merge = refs/heads/5.4.1
[branch "5.4.2"]
        remote = origin
        merge = refs/heads/5.4.2
[remote "gerrit"]
        url = ssh://codereview.qt-project.org/qt/qtbase
        fetch = +refs/heads/*:refs/remotes/gerrit/*
[commit]
        template = /Users/bertin/cworks/new/Qt/qt4-git/.commit-template

R



More information about the Development mailing list