Re: [PATCH] get_local_heads(): do not return random pointer if there is no head
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Apr 18, 2009, 05:02 UTC
- Message-ID
- <7vljpyy2pj.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <1239920183-29512-1-git-send-email-pclouds@gmail.com>
Nguyễn Thái Ngọc Duy <pclouds@gmail.com> writes:
Show 5 quoted lines
> it's silly to do this: > > mkdir foo && cd foo && git init && git push somewhere.git > > but segfault should not happen even in that case.
Thanks.