summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Porting/Maintainers.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/Porting/Maintainers.pm b/Porting/Maintainers.pm
index 40266f5156..d3d1dbdc8b 100644
--- a/Porting/Maintainers.pm
+++ b/Porting/Maintainers.pm
@@ -108,7 +108,7 @@ sub process_options {
my @Files;
if ($Opened) {
- @Files = `git ls-files -m --full-name`;
+ chomp (@Files = `git ls-files -m --full-name`);
die if $?;
} else {
@Files = @ARGV;
@@ -246,6 +246,9 @@ sub show_results {
}
}
}
+ elsif ($Opened) {
+ print "(No files are modified)\n";
+ }
else {
usage();
}