Re: [PATCH] BUG: git push on an empty clone segfaults.
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Apr 20, 2009, 10:55 UTC
- Message-ID
- <alpine.DEB.1.00.0904201252120.6955@intel-tinevez-2-302>
- In-Reply-To
- <7vfxg3ipib.fsf@gitster.siamese.dyndns.org>
Hi,
On Mon, 20 Apr 2009, Junio C Hamano wrote:
Show 8 quoted lines
> Matthieu Moy <Matthieu.Moy@imag.fr> writes: > > > Ideally, "git push" from an empty repository to another empty one > > should be a no-op, or perhaps should error out cleanly. Currently, it > > just segfaults. > > Didn't we see this fixed by Nguyễn with 55f0566 (get_local_heads(): do not > return random pointer if there is no head, 2009-04-17)?
I fetched from repo.or.cz and tested with 'master', and it was broken. Apparently git://repo.or.cz/git.git is lagging behind by 5 days. Pasky?
Ciao, Dscho