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

Re: [PATCH] remote: improve sorting of "configure for git push" list

From
Junio C Hamano <gitster@pobox.com>
Date
Mar 22, 2009, 21:58 UTC
Message-ID
<7vk56hdxtp.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<76718490903220747p74cf3704vbbbc085c28a105b2@mail.gmail.com>
Jay Soffian <jaysoffian@gmail.com> writes:
Show 8 quoted lines
> On Sun, Mar 22, 2009 at 4:59 AM, Jeff King <peff@peff.net> wrote:
>> The data structure used to store this list is a string_list
>> of sources with the destination in the util member. The
>> current code just sorts on the source; if a single source is
>> pushed to two different destination refs at a remote, then
>> the order in which they are printed is non-deterministic.
>> ...
> Ack. There is one thing I wonder though. Is this even a sane config?

I do not think of a workflow that this feature is absolutely necessary in the sense that it cannot be worked around if you removed it, but that is not what you asked.

I wouldn't be surprised if there are some kernel subsystem maintainers who usually push to their master but when they push their finished goods to their for-linus branch make sure they update their master at the same time. Configuring their local for-linus to push to master and for-linus may be one way to do so.

In a one-branch project with two people, it is not entirely inconceivable to arrange for me to push to master and junio while you to push to master and jay, in order to keep track.

Previous: Jay SoffianNext: Johannes Sixt
Message 15 of 18 in “t5505-remote fails on Windows”
  1. Johannes SixtMar 18, 2009
  2. Jeff KingMar 19, 2009
  3. Jeff KingMar 19, 2009
  4. Jay SoffianMar 19, 2009
  5. Jeff KingMar 19, 2009
  6. Johannes SixtMar 19, 2009
  7. Jeff KingMar 19, 2009
  8. Johannes SchindelinMar 19, 2009
  9. Junio C HamanoMar 19, 2009
  10. Jay SoffianMar 19, 2009
  11. Jeff KingMar 19, 2009
  12. Johannes SchindelinMar 19, 2009
  13. remote: improve sorting of "configure for git push" listJeff King, Mar 22, 2009
  14. Jay SoffianMar 22, 2009
  15. Junio C HamanoMar 22, 2009
  16. Johannes SixtMar 23, 2009
  17. Junio C HamanoMar 23, 2009
  18. Jeff KingMar 19, 2009

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.