get_maintainer.pl (63e3555e80c31776285accbb4d0c14ae91c457dc) | get_maintainer.pl (859389810910f232188675d2f10b15f1aad77660) |
---|---|
1#!/usr/bin/perl -w 2# (c) 2007, Joe Perches <joe@perches.com> 3# created from checkpatch.pl 4# 5# Print selected MAINTAINERS information for 6# the files modified in a patch or for a file 7# 8# usage: perl scripts/get_maintainer.pl [OPTIONS] <patch> --- 1371 unchanged lines hidden (view full) --- 1380 return 1 if eval $VCS_cmds{"available"}; 1381 %VCS_cmds = %VCS_cmds_hg; 1382 return 2 if eval $VCS_cmds{"available"}; 1383 %VCS_cmds = (); 1384 if (!$printed_novcs) { 1385 warn("$P: No supported VCS found. Add --nogit to options?\n"); 1386 warn("Using a git repository produces better results.\n"); 1387 warn("Try latest git repository using:\n"); | 1#!/usr/bin/perl -w 2# (c) 2007, Joe Perches <joe@perches.com> 3# created from checkpatch.pl 4# 5# Print selected MAINTAINERS information for 6# the files modified in a patch or for a file 7# 8# usage: perl scripts/get_maintainer.pl [OPTIONS] <patch> --- 1371 unchanged lines hidden (view full) --- 1380 return 1 if eval $VCS_cmds{"available"}; 1381 %VCS_cmds = %VCS_cmds_hg; 1382 return 2 if eval $VCS_cmds{"available"}; 1383 %VCS_cmds = (); 1384 if (!$printed_novcs) { 1385 warn("$P: No supported VCS found. Add --nogit to options?\n"); 1386 warn("Using a git repository produces better results.\n"); 1387 warn("Try latest git repository using:\n"); |
1388 warn("git clone git://git.qemu.org/qemu.git\n"); | 1388 warn("git clone git://git.qemu-project.org/qemu.git\n"); |
1389 $printed_novcs = 1; 1390 } 1391 return 0; 1392} 1393 1394sub vcs_is_git { 1395 vcs_exists(); 1396 return $vcs_used == 1; --- 760 unchanged lines hidden --- | 1389 $printed_novcs = 1; 1390 } 1391 return 0; 1392} 1393 1394sub vcs_is_git { 1395 vcs_exists(); 1396 return $vcs_used == 1; --- 760 unchanged lines hidden --- |