Re: [PATCH v2] clone: Don't segfault on -b specifing a non-commit
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Nov 6, 2019, 09:53 UTC
- Message-ID
- <xmqqo8xptjpd.fsf@gitster-ct.c.googlers.com>
- In-Reply-To
- <20191106040523.GB4307@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
> If we did want to handle it, though, I think it would be easy with the > setup I described; update_head() could check is_null_oid() itself.
Yup, that was what I had in my review on the previous round ;-)