Merge branch 'rs/checkout-am-fix-unborn'
commite40c0f428837d9a1e23dc711b0632c99455810af
authorJunio C Hamano <gitster@pobox.com>
Tue, 23 May 2017 04:46:05 +0000 (23 13:46 +0900)
committerJunio C Hamano <gitster@pobox.com>
Tue, 23 May 2017 04:46:05 +0000 (23 13:46 +0900)
treef84771a6365c7d7470421e15a786ca15aa6264aa
parentdcad9a4c87daa4c90d5504e87973d2d5a5d31ff4
parent57e0ef0e0e90c4cb72c35db874fc3d035b88ce4d
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
builtin/am.c
builtin/checkout.c