[前][次][番号順一覧][スレッド一覧]

ruby-changes:57644

From: Nobuyoshi <ko1@a...>
Date: Sat, 7 Sep 2019 17:27:39 +0900 (JST)
Subject: [ruby-changes:57644] 5511213487 (master): Exit gently if no VCS found but --suppress_not_found is given

https://git.ruby-lang.org/ruby.git/commit/?id=5511213487

From 5511213487f9e6c6bd23a227ee64f9c541680f02 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Sat, 7 Sep 2019 17:25:52 +0900
Subject: Exit gently if no VCS found but --suppress_not_found is given


diff --git a/tool/file2lastrev.rb b/tool/file2lastrev.rb
index a317e37..3d8c693 100755
--- a/tool/file2lastrev.rb
+++ b/tool/file2lastrev.rb
@@ -66,6 +66,7 @@ OptionParser.new {|opts| https://github.com/ruby/ruby/blob/trunk/tool/file2lastrev.rb#L66
     new_vcs["."]
   end
 }
+exit unless vcs
 
 @output =
   case @output
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]