diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-09-07 17:25:52 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-09-07 17:26:28 +0900 |
commit | 5511213487f9e6c6bd23a227ee64f9c541680f02 (patch) | |
tree | 9f3cd5f4edd12f344cbaf63ab98ba0dad9037485 /tool | |
parent | 5b5c9b61015434a253bf1eee65c7f05dc870b105 (diff) |
Exit gently if no VCS found but --suppress_not_found is given
Diffstat (limited to 'tool')
-rwxr-xr-x | tool/file2lastrev.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tool/file2lastrev.rb b/tool/file2lastrev.rb index a317e3702c..3d8c69357d 100755 --- a/tool/file2lastrev.rb +++ b/tool/file2lastrev.rb @@ -66,6 +66,7 @@ OptionParser.new {|opts| new_vcs["."] end } +exit unless vcs @output = case @output |