mirror of
https://github.com/git/git.git
synced 2024-10-31 06:17:56 +01:00
git-remote-mediawiki: change style in a regexp
Change '[\n]' to '\n': brackets are useless here. Signed-off-by: Célestin Matte <celestin.matte@ensimag.fr> Signed-off-by: Matthieu Moy <matthieu.moy@grenoble-inp.fr> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
6b825a4622
commit
477d4d4235
1 changed files with 1 additions and 1 deletions
|
@ -1271,7 +1271,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 a new issue