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

Re: [PATCHv2] Add a remote helper to interact with mediawiki, pull & clone handled

From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
Date
Jun 7, 2011, 11:20 UTC
Message-ID
<vpq1uz5khut.fsf@bauges.imag.fr>
In-Reply-To
<BANLkTik--BAqZxCYQ-ApUn2yKmcr_-hubg@mail.gmail.com>
Thomas Adam <thomas@xteddy.org> writes:
Show 7 quoted lines
>> +       print STDOUT "? refs/heads/master\n";
>> +       print STDOUT '@'."refs/heads/master HEAD\n";
>> +       print STDOUT "\n";
>
> Hmm.  Why not just:
>
> print STDOUT '@'."refs/heads/master HEAD\n\n";
To replace the last two lines, yes, but the
? refs/heads/master
is still needed to show "git pull" that a branch master exists.
-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
Previous: Thomas AdamNext: Arnaud Lacurie
Message 3 of 4 in “[PATCHv2] Add a remote helper to interact with mediawiki, pull & clone handled”
  1. Jeremie NikaesJun 7, 2011
  2. Thomas AdamJun 7, 2011
  3. Matthieu MoyJun 7, 2011
  4. Arnaud LacurieJun 7, 2011

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.