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

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 May 23, 2017 at 13:46 UTC e40c0f428837d9a1e23dc711b0632c99455810af

No changes.