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

Re: [PATCH v6 p2 3/9] transport-helper: trivial code shuffle

From
Junio C Hamano <gitster@pobox.com>
Date
Nov 28, 2012, 01:54 UTC
Message-ID
<7vwqx6jxv2.fsf@alter.siamese.dyndns.org>
In-Reply-To
<CAMP44s0fmt+bHN-ycza8b+y8Ep-Cyqmg1U1PVas267fTY5iPPQ@mail.gmail.com>
Felipe Contreras <felipe.contreras@gmail.com> writes:
Show 13 quoted lines
>> This is not just "just shuffle the die to make it explicit" but it
>> does change the semantics; earlier ref->deletion was perfectly fine
>> as long as data->refspecs is not given, but the new code always
>> dies.
>>
>> If this semantic change is a good thing, please explain why it is so
>> in the log message.  If the change is "it does not matter because
>> when data->refspecs is not given and ref->deletion is set, we die
>> later elsewhere in the code anyway", then it needs to be described.
>
> refspecs are optional, but when they are not present the code doesn't
> work at all. This patch changes the behavior that was totally broken
> anyway.

In case it was not clear, I did not request/expect responses in the discussion thread, but a rerolled series with updated description.

Thanks.
Previous: Felipe ContrerasNext: Felipe Contreras
Message 9 of 16 in “transport-helper and fast-export fixes”
  1. 0/9 transport-helper and fast-export fixesFelipe Contreras, Nov 24, 2012
  2. 1/9 transport-helper: update remote helper namespaceFelipe Contreras, Nov 24, 2012
  3. Felipe ContrerasNov 24, 2012
  4. 2/9 fast-export: don't handle uninteresting refsFelipe Contreras, Nov 24, 2012
  5. Felipe ContrerasNov 24, 2012
  6. 3/9 transport-helper: trivial code shuffleFelipe Contreras, Nov 24, 2012
  7. Junio C HamanoNov 27, 2012
  8. Felipe ContrerasNov 28, 2012
  9. Junio C HamanoNov 28, 2012
  10. Felipe ContrerasNov 28, 2012
  11. 4/9 transport-helper: fix push without refspecFelipe Contreras, Nov 24, 2012
  12. 5/9 transport-helper: fix pushing with straight refspecFelipe Contreras, Nov 24, 2012
  13. 6/9 transport-helper: fix push without marksFelipe Contreras, Nov 24, 2012
  14. 7/9 fast-export: make extra_refs globalFelipe Contreras, Nov 24, 2012
  15. 8/9 fast-export: refactor get_tags_and_duplicates()Felipe Contreras, Nov 24, 2012
  16. 9/9 fast-export: trivial cleanupsFelipe Contreras, Nov 24, 2012

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.