From 5511213487f9e6c6bd23a227ee64f9c541680f02 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Sat, 7 Sep 2019 17:25:52 +0900 Subject: Exit gently if no VCS found but --suppress_not_found is given --- tool/file2lastrev.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'tool/file2lastrev.rb') 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 -- cgit v1.2.1