From: Matthieu Moy Date: Tue, 07 Jun 2011 11:20:58 GMT Subject: Re: [PATCHv2] Add a remote helper to interact with mediawiki, pull & clone handled Message-ID: In-Reply-To: Thomas Adam 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/