On 24.08.2017 [17:41:24 +0700], Nguyễn Thái Ngọc Duy wrote: > There are two bugs that sort of work together and cause problems. Let's > start with one in replace_each_worktree_head_symref. <snip> > Correct add_head_info(), remove RESOLVE_REF_READING flag. With the flag > gone, we should always return good "head_ref" in orphan checkouts (either > temporary or permanent). With good head_ref, things start to work again. > > Noticed-by: Nish Aravamudan <nish.aravamudan@xxxxxxxxxxxxx> > Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@xxxxxxxxx> Tested-by: Nish Aravamudan <nish.aravamudan@xxxxxxxxxxxxx> Thank you for the quick turnaround on the patch! -Nish -- Nishanth Aravamudan Ubuntu Server Canonical Ltd