git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Matthieu Moy <Matthieu.Moy@grenoble-inp.fr>
To: Thomas Adam <thomas@xteddy.org>
Cc: "Jeremie Nikaes" <jeremie.nikaes@ensimag.imag.fr>,
	git@vger.kernel.org, jrnieder@gmail.com,
	"Arnaud Lacurie" <arnaud.lacurie@ensimag.imag.fr>,
	"Claire Fousse" <claire.fousse@ensimag.imag.fr>,
	"David Amouyal" <david.amouyal@ensimag.imag.fr>,
	"Sylvain Boulmé" <sylvain.boulme@imag.fr>
Subject: Re: [PATCHv2] Add a remote helper to interact with mediawiki, pull & clone handled
Date: Tue, 07 Jun 2011 13:20:58 +0200	[thread overview]
Message-ID: <vpq1uz5khut.fsf@bauges.imag.fr> (raw)
In-Reply-To: <BANLkTik--BAqZxCYQ-ApUn2yKmcr_-hubg@mail.gmail.com> (Thomas Adam's message of "Tue, 7 Jun 2011 11:16:30 +0100")

Thomas Adam <thomas@xteddy.org> writes:

>> +       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/

  reply	other threads:[~2011-06-07 11:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-07  9:59 [PATCHv2] Add a remote helper to interact with mediawiki, pull & clone handled Jeremie Nikaes
2011-06-07 10:16 ` Thomas Adam
2011-06-07 11:20   ` Matthieu Moy [this message]
2011-06-07 11:33   ` Arnaud Lacurie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=vpq1uz5khut.fsf@bauges.imag.fr \
    --to=matthieu.moy@grenoble-inp.fr \
    --cc=arnaud.lacurie@ensimag.imag.fr \
    --cc=claire.fousse@ensimag.imag.fr \
    --cc=david.amouyal@ensimag.imag.fr \
    --cc=git@vger.kernel.org \
    --cc=jeremie.nikaes@ensimag.imag.fr \
    --cc=jrnieder@gmail.com \
    --cc=sylvain.boulme@imag.fr \
    --cc=thomas@xteddy.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).