cvsserver: Introduce new state variable 'method'
[gitweb.git] / git-remote.perl
index 61244e978260ecabf9574f00beba8841eba4669a..bd70bf1ddd663db7d0af49b8513fdf234767e422 100755 (executable)
@@ -67,7 +67,7 @@ sub list_remote {
                $git->command(qw(config --get-regexp), '^remote\.');
        };
        for (@remotes) {
-               if (/^remote\.([^.]*)\.(\S*)\s+(.*)$/) {
+               if (/^remote\.(\S+?)\.([^.\s]+)\s+(.*)$/) {
                        add_remote_config(\%seen, $1, $2, $3);
                }
        }