diff options
author | Matthieu Moy <Matthieu.Moy@imag.fr> | 2012-07-16 14:00:46 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-07-16 11:06:13 -0700 |
commit | ac4bbb41b25949adff3afa96b2821f648abad8b3 (patch) | |
tree | 86144c611681d74889a6c03485a9936b8a1d0a2c /contrib/mw-to-git | |
parent | Update draft release notes for 7th batch (diff) | |
download | tgif-ac4bbb41b25949adff3afa96b2821f648abad8b3.tar.xz |
git-remote-mediawiki: don't split namespaces with spaces
Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/mw-to-git')
-rwxr-xr-x | contrib/mw-to-git/git-remote-mediawiki | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/mw-to-git/git-remote-mediawiki b/contrib/mw-to-git/git-remote-mediawiki index accd70a94c..a6ad8cf33c 100755 --- a/contrib/mw-to-git/git-remote-mediawiki +++ b/contrib/mw-to-git/git-remote-mediawiki @@ -1275,7 +1275,7 @@ sub get_mw_namespace_id { # Look at configuration file, if the record for that namespace is # already cached. Namespaces are stored in form: # "Name_of_namespace:Id_namespace", ex.: "File:6". - my @temp = split(/[ \n]/, run_git("config --get-all remote." + my @temp = split(/[\n]/, run_git("config --get-all remote." . $remotename .".namespaceCache")); chomp(@temp); foreach my $ns (@temp) { |