modified, rather than failing back to the usage message.
my @Files;
if ($Opened) {
- @Files = `git ls-files -m --full-name`;
+ chomp (@Files = `git ls-files -m --full-name`);
die if $?;
} else {
@Files = @ARGV;
}
}
}
+ elsif ($Opened) {
+ print "(No files are modified)\n";
+ }
else {
usage();
}