git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Fix branch renaming not updating HEADs correctly

From
NANish Aravamudan <nish.aravamudan@canonical.com>
Date
Aug 24, 2017, 19:04 UTC
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.
<snip>
Show 6 quoted lines
> 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@canonical.com>
> Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Tested-by: Nish Aravamudan <nish.aravamudan@canonical.com>
Thank you for the quick turnaround on the patch!
-Nish
-- 
Nishanth Aravamudan
Ubuntu Server
Canonical Ltd
Previous: Nguyễn Thái Ngọc DuyNext: Junio C Hamano
Message 5 of 6 in “Undocumented change in `git branch -M` behavior”
  1. Nish AravamudanAug 23, 2017
  2. Kevin DaudtAug 24, 2017
  3. Duy NguyenAug 24, 2017
  4. Fix branch renaming not updating HEADs correctlyNguyễn Thái Ngọc Duy, Aug 24, 2017
  5. Nish AravamudanAug 24, 2017
  6. Junio C HamanoAug 27, 2017

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.