From a8563afc9e60abc749bff43177c768c0af69dab9 Mon Sep 17 00:00:00 2001 From: Caleb Xu Date: Sat, 25 Aug 2018 13:40:57 -0400 Subject: [PATCH] extract: add progress message when searching Git history For the impatient ones out there. --- Library/Homebrew/dev-cmd/extract.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Library/Homebrew/dev-cmd/extract.rb b/Library/Homebrew/dev-cmd/extract.rb index 8c9239b167..5b19fb80da 100644 --- a/Library/Homebrew/dev-cmd/extract.rb +++ b/Library/Homebrew/dev-cmd/extract.rb @@ -78,6 +78,7 @@ module Homebrew file = repo/"Formula/#{name}.rb" if args.version + ohai "Searching repository history" version = args.version rev = "HEAD" test_formula = nil @@ -99,6 +100,7 @@ module Homebrew version = Formulary.factory(file).version result = File.read(file) else + ohai "Searching repository history" rev = Git.last_revision_commit_of_file(repo, file) version = formula_at_revision(repo, name, file, rev).version odie "Could not find #{name}! The formula or version may not have existed." if rev.empty?