get_maintainer.pl (f465706e590a6543542246a9f1b591e5be39c568) get_maintainer.pl (1b3bbc68872be5b618811db9dae611373c49f823)
1#!/usr/bin/env perl
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>

--- 1362 unchanged lines hidden (view full) ---

1371 return 1 if eval $VCS_cmds{"available"};
1372 %VCS_cmds = %VCS_cmds_hg;
1373 return 2 if eval $VCS_cmds{"available"};
1374 %VCS_cmds = ();
1375 if (!$printed_novcs) {
1376 warn("$P: No supported VCS found. Add --nogit to options?\n");
1377 warn("Using a git repository produces better results.\n");
1378 warn("Try latest git repository using:\n");
1#!/usr/bin/env perl
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>

--- 1362 unchanged lines hidden (view full) ---

1371 return 1 if eval $VCS_cmds{"available"};
1372 %VCS_cmds = %VCS_cmds_hg;
1373 return 2 if eval $VCS_cmds{"available"};
1374 %VCS_cmds = ();
1375 if (!$printed_novcs) {
1376 warn("$P: No supported VCS found. Add --nogit to options?\n");
1377 warn("Using a git repository produces better results.\n");
1378 warn("Try latest git repository using:\n");
1379 warn("git clone git://git.qemu-project.org/qemu.git\n");
1379 warn("git clone git://git.qemu.org/qemu.git\n");
1380 $printed_novcs = 1;
1381 }
1382 return 0;
1383}
1384
1385sub vcs_is_git {
1386 vcs_exists();
1387 return $vcs_used == 1;

--- 756 unchanged lines hidden ---
1380 $printed_novcs = 1;
1381 }
1382 return 0;
1383}
1384
1385sub vcs_is_git {
1386 vcs_exists();
1387 return $vcs_used == 1;

--- 756 unchanged lines hidden ---