Re: [PATCH 3/4] git-remote-mediawiki: use dont-update-private capability on dumb push

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Matthieu Moy <Matthieu.Moy@xxxxxxx> writes:

> Signed-off-by: Matthieu Moy <Matthieu.Moy@xxxxxxx>
> ---
>
> I prefer not to bother with compatibility of git-remote-mediawiki with
> older Git versions. The recommanded way is to install Git and
> git-remote-mediawiki from the same source tree. People who want to
> keep an old Git version can still use old versions of
> git-remote-mediawiki.

I think that is a sane assumption.

>
>  contrib/mw-to-git/git-remote-mediawiki.perl | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/contrib/mw-to-git/git-remote-mediawiki.perl b/contrib/mw-to-git/git-remote-mediawiki.perl
> index f8d7d2c..cdc278c 100755
> --- a/contrib/mw-to-git/git-remote-mediawiki.perl
> +++ b/contrib/mw-to-git/git-remote-mediawiki.perl
> @@ -590,6 +590,9 @@ sub mw_capabilities {
>  	print {*STDOUT} "import\n";
>  	print {*STDOUT} "list\n";
>  	print {*STDOUT} "push\n";
> +	if ($dumb_push) {
> +		print {*STDOUT} "dont-update-private\n";
> +	}
>  	print {*STDOUT} "\n";
>  	return;
>  }
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]