Re: [PATCHv2] Add a remote helper to interact with mediawiki, pull & clone handled
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/