Opened 13 years ago

Closed 13 years ago

#78 closed defect (fixed)

git push to git:// hangs

Reported by: geofft Owned by:
Priority: tiny Milestone:
Component: vcs Keywords: git
Cc:

Description

[remote "scripts"]
        url = git://barnowl.mit.edu/barnowl
        fetch = +refs/heads/*:refs/remotes/origin/*
[remote "github"]
        url = git://github.com/nelhage/barnowl.git
        fetch = +refs/heads/*:refs/remotes/origin/*

vinegar-pot:~/owl geofft$ git push github
fatal: protocol error: expected sha/ref, got '
*********'

You can't push to git://github.com/user/repo.git
Use git@github.com:user/repo.git

*********'
vinegar-pot:~/owl geofft$ git push scripts

Hangs forever. Figure out how github gives a friendly error, and what friendly error we should give, and do so.

Change History (1)

comment:1 Changed 13 years ago by andersk

  • Component changed from misc to vcs
  • Resolution set to fixed
  • Status changed from new to closed

Fixed in r903:

$ git push scripts
fatal: The remote end hung up unexpectedly

which is the same behavior as git.kernel.org, for example.

Note: See TracTickets for help on using tickets.