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>
This commit is contained in:
parent
31c79549b8
commit
ac4bbb41b2
@ -1275,7 +1275,7 @@ sub get_mw_namespace_id {
|
|||||||
# Look at configuration file, if the record for that namespace is
|
# Look at configuration file, if the record for that namespace is
|
||||||
# already cached. Namespaces are stored in form:
|
# already cached. Namespaces are stored in form:
|
||||||
# "Name_of_namespace:Id_namespace", ex.: "File:6".
|
# "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"));
|
. $remotename .".namespaceCache"));
|
||||||
chomp(@temp);
|
chomp(@temp);
|
||||||
foreach my $ns (@temp) {
|
foreach my $ns (@temp) {
|
||||||
|
Loading…
Reference in New Issue
Block a user