diff options
author | Matthieu Moy <Matthieu.Moy@imag.fr> | 2012-07-08 18:18:28 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-07-08 18:44:43 -0700 |
commit | 2da7830d5c3b0779fed6ac16008a6e380a99dd2e (patch) | |
tree | a1fd85ab5e12a874b92a2b35fef14b1908a24019 /contrib | |
parent | a7271ad1dccaf1a1875992520204debb37ed78bb (diff) | |
download | git-2da7830d5c3b0779fed6ac16008a6e380a99dd2e.tar.gz |
git-remote-mediawiki: update comments to reflect credential support
Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/mw-to-git/git-remote-mediawiki | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/contrib/mw-to-git/git-remote-mediawiki b/contrib/mw-to-git/git-remote-mediawiki index 539718e243..c07b4f0ee6 100755 --- a/contrib/mw-to-git/git-remote-mediawiki +++ b/contrib/mw-to-git/git-remote-mediawiki @@ -26,9 +26,6 @@ # - Git renames could be turned into MediaWiki renames (see TODO # below) # -# - login/password support requires the user to write the password -# cleartext in a file (see TODO below). -# # - No way to import "one page, and all pages included in it" # # - Multiple remote MediaWikis have not been very well tested. @@ -74,9 +71,7 @@ my @tracked_categories = split(/[ \n]/, run_git("config --get-all remote.". $rem chomp(@tracked_categories); my $wiki_login = run_git("config --get remote.". $remotename .".mwLogin"); -# TODO: ideally, this should be able to read from keyboard, but we're -# inside a remote helper, so our stdin is connect to git, not to a -# terminal. +# Note: mwPassword is discourraged. Use the credential system instead. my $wiki_passwd = run_git("config --get remote.". $remotename .".mwPassword"); my $wiki_domain = run_git("config --get remote.". $remotename .".mwDomain"); chomp($wiki_login); |