Merge branch 'rs/checkout-am-fix-unborn' into maint

A few codepaths in "checkout" and "am" working on an unborn branch tried to access an uninitialized piece of memory. * rs/checkout-am-fix-unborn: am: check return value of resolve_refdup before using hash checkout: check return value of resolve_refdup before using hash

Junio C Hamano committed Jun 5, 2017 at 09:03 UTC a207ad7081e42a64f826bd4d5193cecb67c84024

No changes.