From d917eebe563d5362fe0d46725eca20a4f002476e Mon Sep 17 00:00:00 2001 From: Ted Blackman Date: Thu, 20 Feb 2020 16:38:21 -0500 Subject: [PATCH] ford: remove pit short-circuit --- pkg/arvo/sys/vane/ford.hoon | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/pkg/arvo/sys/vane/ford.hoon b/pkg/arvo/sys/vane/ford.hoon index e5af1fb62..126f1e900 100644 --- a/pkg/arvo/sys/vane/ford.hoon +++ b/pkg/arvo/sys/vane/ford.hoon @@ -4658,24 +4658,6 @@ :: ?. ?=([~ %success %scry *] zuse-scry-result) (wrap-error zuse-scry-result) - :: short-circuit to :pit if asked for current %home desk - :: - :: This avoids needing to recompile the kernel if we're asked - :: for the kernel we're already running. Note that this fails - :: referential transparency if |autoload is turned off. - :: - ?: ?& |(=(disc [our %home]) =(disc [our %base])) - :: is :date.build the latest commit on the %home desk? - :: - ?| =(now date.build) - :: - =/ =beam [[our %home [%da date.build]] /hoon/hoon/sys] - :: - .= (scry [%141 %noun] ~ %cw beam) - (scry [%141 %noun] ~ %cw beam(r [%da now])) - == == - :: - (return-result %success %reef pit) :: omit case from path to prevent cache misses :: =/ hoon-path=path