[PATCH] helpful error message when send-pack finds no refs in common.

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <git@...>
Date: Tuesday, October 16, 2007 - 5:31 pm

Hi all,

Please cc me, I'm not subscribed.

git-push fails when pushing into an empty repository if you don't specify
a branch:

	git --bare init some-repo

	git-push some-repo

To get this to work, you need to do

	git-push some-repo master

I attached a patch so that the error message suggests trying the latter.

Cheers,
Andrew
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] helpful error message when send-pack finds no refs i..., Andrew Clausen, (Tue Oct 16, 5:31 pm)