From: Junio C Hamano Date: Sat, 18 Apr 2009 05:02:00 GMT Subject: Re: [PATCH] get_local_heads(): do not return random pointer if there is no head 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 writes: > 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.