From: Nish Aravamudan Date: Thu, 24 Aug 2017 19:04:18 GMT Subject: Re: [PATCH] Fix branch renaming not updating HEADs correctly Message-ID: <20170824190418.tdhg45fugibtfgwb@pitfall> In-Reply-To: <20170824104124.6263-1-pclouds@gmail.com> 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. > 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 > Signed-off-by: Nguyễn Thái Ngọc Duy Tested-by: Nish Aravamudan Thank you for the quick turnaround on the patch! -Nish -- Nishanth Aravamudan Ubuntu Server Canonical Ltd