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

Re: [PATCH] transport: no warning if no server wait-for-done

From
JTJonathan Tan <jonathantanmy@google.com>
Date
Aug 16, 2021, 22:26 UTC
Message-ID
<20210816222604.3503037-1-jonathantanmy@google.com>
In-Reply-To
<87eeb6yr0m.fsf@evledraar.gmail.com>
Show 10 quoted lines
> Tangentally related (the alternative was to start a thread on some
> 2018-era patch of yours): Is it intentional that when you supply a
> gibberish OID or a nonexisting one as an explicit negotiation tip we
> don't even warn about it?
> 
> Looking at the history of fetch-pack.c I suspect not. It goes back to
> ec06283844a (fetch-pack: introduce negotiator API, 2018-06-14), i.e. the
> "o && o->type == OBJ_COMMIT" check, now "if (c)" (as in could we look up
> a commit) on "master". That in turn seems to go back as far as
> 9534f40bc42 (Be careful when dereferencing tags., 2005-11-02).

This sounds unintentional, yes. Other than replying to an old email, you could also write a top-level patch :-)

Previous: Ævar Arnfjörð BjarmasonNext: Junio C Hamano
Message 3 of 7 in “transport: no warning if no server wait-for-done”
  1. transport: no warning if no server wait-for-doneJonathan Tan, Aug 6, 2021
  2. Ævar Arnfjörð BjarmasonAug 7, 2021
  3. Jonathan TanAug 16, 2021
  4. Junio C HamanoAug 9, 2021
  5. Jonathan NiederAug 9, 2021
  6. Junio C HamanoAug 9, 2021
  7. Jonathan TanAug 16, 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.