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

Re: bug: git name-rev --stdin --no-undefined on detached head

From
EEErik Cervin Edin <erik@cervined.in>
Date
Dec 24, 2021, 11:44 UTC
Message-ID
<CA+JQ7M9xEHezQG0ui+jrhdWRHAausqxe5W7ucj4XkiLwnFL+Yw@mail.gmail.com>
In-Reply-To
<D22DF4C4-C98C-45FB-8D26-57B50A44FA3F@gmail.com>
> On Fri, Dec 24, 2021 at 7:09 AM John Cai <johncai86@gmail.com> wrote:
> This would have the potential of breaking scripts that rely on the current behavior.

Presumably, using --no-undefined scripts rely on presumed behavior that doesn't exist. Similarly, using --name-only should expect to return a symbolic name While it's possible, I think it's rare that this would break scripts in an unacceptable way.

> On Fri, Dec 24, 2021 at 7:09 AM John Cai <johncai86@gmail.com> wrote:
> Since I’m a bit new, I’m wondering how we generally handle these cases?

I'm also new so I can't really comment on this :) Though I believe the git suite in general is quite adamant on backwards compatibility

Previous: John CaiNext: Junio C Hamano
Message 4 of 8 in “bug: git name-rev --stdin --no-undefined on detached head”
  1. Erik Cervin EdinDec 22, 2021
  2. John CaiDec 23, 2021
  3. John CaiDec 24, 2021
  4. Erik Cervin EdinDec 24, 2021
  5. Junio C HamanoDec 24, 2021
  6. John CaiDec 24, 2021
  7. Junio C HamanoDec 25, 2021
  8. Philip OakleyDec 31, 2021

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.