summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-09-07 17:25:52 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-09-07 17:26:28 +0900
commit5511213487f9e6c6bd23a227ee64f9c541680f02 (patch)
tree9f3cd5f4edd12f344cbaf63ab98ba0dad9037485 /tool
parent5b5c9b61015434a253bf1eee65c7f05dc870b105 (diff)
Exit gently if no VCS found but --suppress_not_found is given
Diffstat (limited to 'tool')
-rwxr-xr-xtool/file2lastrev.rb1
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