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

Re: What's cooking in git.git (Nov 2017, #04; Tue, 14)

From
Kaartic Sivaraam <kaartic.sivaraam@gmail.com>
Date
Nov 14, 2017, 05:42 UTC
Message-ID
<5fce2d3b-c8a9-765f-46e6-a2bebcac875e@gmail.com>
In-Reply-To
<xmqqo9o55xny.fsf@gitster.mtv.corp.google.com>
Show 10 quoted lines
> * jc/branch-name-sanity (2017-10-14) 3 commits
>  - branch: forbid refs/heads/HEAD
>  - branch: split validate_new_branchname() into two
>  - branch: streamline "attr_only" handling in validate_new_branchname()
>
>  "git branch" and "git checkout -b" are now forbidden from creating
>  a branch whose name is "HEAD".
>
>  Reported to cause problems when renaming HEAD during a rebase.
>  cf. <49563f7c-354e-334e-03a6-c3a40884b6d0@gmail.com>

Just wanted to note this explicitly. As I'm not aware how the problem with above series is going to be resolved, I've decided to stall the v4 of my series that tries to improve error messages shown when renaming the branch[1] until this problem gets resolved. I'm doing this as this series and my series touch the same code paths. Furthermore, I based my v3 off of 'next' when this series was in there.

I'm not sure if the resolution to the problem might introduce conflicts with my series. Hence the stall.

--

[1]: https://public-inbox.org/git/20171102065407.25404-1-kaartic.sivaraam@gmail.com/

--- Kaartic

Previous: Junio C HamanoNext: Junio C Hamano
Message 2 of 3 in “What's cooking in git.git (Nov 2017, #04; Tue, 14)”
  1. Junio C HamanoNov 14, 2017
  2. Kaartic SivaraamNov 14, 2017
  3. Junio C HamanoNov 14, 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.